From e05dbbb57201c3676909b5e5d04fa06e62cd5b0d Mon Sep 17 00:00:00 2001 From: liudan <18634735655@163.com> Date: Fri, 10 Jan 2025 15:45:37 +0800 Subject: [PATCH] 1 --- pages/users/user_integral/index.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pages/users/user_integral/index.vue b/pages/users/user_integral/index.vue index 451da42..ac08ceb 100644 --- a/pages/users/user_integral/index.vue +++ b/pages/users/user_integral/index.vue @@ -243,13 +243,14 @@ }); return; } - if((this.consumeToShareNum*this.consumeToShare).toFixed(2)>this.consume){ + if(Number(this.consumeToShareNum*this.consumeToShare).toFixed(2)>Number(this.consume)){ uni.showToast({ title: '积分不足', icon:'none' }); return; } + jifenToShare({count:this.consumeToShareNum}).then(res=>{ this.getUserInfo()