bihuisong 1 年之前
父节点
当前提交
fbc8e70409
共有 1 个文件被更改,包括 6 次插入1 次删除
  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({