Explorar el Código

修改报错信息

xiaohaizhao hace 3 meses
padre
commit
dab0144c77
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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(() => {