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 }