wyling007 %!s(int64=3) %!d(string=hai) anos
pai
achega
94dc2924ae
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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";
 	import { CashOutModel } from "@/dataModel/cashOut";
 	const cashOutModel = new CashOutModel();
 	const cashOutModel = new CashOutModel();
 	const useCashout = () => {
 	const useCashout = () => {
-		const amount = ref<number>(0);
+		const amount = ref<number | null>(null);
 		const loading = ref(false);
 		const loading = ref(false);
 		const cashout = async () => {
 		const cashout = async () => {
 			loading.value = true;
 			loading.value = true;