From 8a171ae0913d38a32d1442f2cc7914a9f562da48 Mon Sep 17 00:00:00 2001 From: John Date: Mon, 25 Mar 2024 23:15:11 +0800 Subject: [PATCH] 123 --- src/views/index/home/index.vue | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/views/index/home/index.vue b/src/views/index/home/index.vue index 91c4e3b..ebd7416 100644 --- a/src/views/index/home/index.vue +++ b/src/views/index/home/index.vue @@ -132,10 +132,16 @@ const lmChecked = ref('') const moneyReduce = (step: number) => { + if (strip.value - step < loans.loansMinAccount) { + return + } strip.value-=step } const moneyAdd = (step: number) => { + if (strip.value + step > loans.loansMaxAccount) { + return + } strip.value+=step }