bihuisong 1 năm trước cách đây
mục cha
commit
fbc8e70409
1 tập tin đã thay đổi với 6 bổ sung1 xóa
  1. 6 1
      pages/index/index.vue

+ 6 - 1
pages/index/index.vue

@@ -505,7 +505,12 @@
 					scoreNum: item.integral
 				};
 				verifyScore(params).then((res) => {
-					if (res.code == 200) {
+					if (res.data == false) {
+						uni.showToast({
+							title: '您的积分不足'
+						})
+					}else{
+						console.log("verifyScore",res)
 						this.reduceScore(item)
 						this.addScore(item)
 						uni.navigateTo({