Pārlūkot izejas kodu

修改报错信息

xiaohaizhao 4 mēneši atpakaļ
vecāks
revīzija
dab0144c77
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      pages/index/userCenter/index.js

+ 1 - 1
pages/index/userCenter/index.js

@@ -123,7 +123,7 @@ Component({
 								}
 							}).then(s => {
 								if (s.msg != '成功') return wx.showToast({
-									title: s.data,
+									title: s.msg,
 									icon: "none"
 								});
 								setTimeout(() => {