Pārlūkot izejas kodu

Merge remote-tracking branch 'origin/master'

conghelong 1 gadu atpakaļ
vecāks
revīzija
b894f8adcb
1 mainītis faili ar 6 papildinājumiem un 1 dzēšanām
  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({