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;