wyling007 3 年之前
父節點
當前提交
94dc2924ae
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/views/cashOut/components/cashout.vue

+ 1 - 1
src/views/cashOut/components/cashout.vue

@@ -21,7 +21,7 @@
 	import { CashOutModel } from "@/dataModel/cashOut";
 	const cashOutModel = new CashOutModel();
 	const useCashout = () => {
-		const amount = ref<number>(0);
+		const amount = ref<number | null>(null);
 		const loading = ref(false);
 		const cashout = async () => {
 			loading.value = true;