浏览代码

个人中心

zhaoxiaohai 3 年之前
父节点
当前提交
c87075c981
共有 3 个文件被更改,包括 3 次插入3 次删除
  1. 1 1
      pages/tabbar/mine/changePassword/index.js
  2. 1 1
      pages/tabbar/mine/index.js
  3. 1 1
      pages/tabbar/mine/userMsg/index.js

+ 1 - 1
pages/tabbar/mine/changePassword/index.js

@@ -46,7 +46,7 @@ Page({
                 loading: false
             })
             if (res.msg != '成功') return Toast({
-                message: res.data,
+                message: res.msg,
                 position: 'bottom'
             });
             this.setData({

+ 1 - 1
pages/tabbar/mine/index.js

@@ -64,7 +64,7 @@ Page({
         }).then(res => {
             console.log("个人信息", res)
             if (res.msg != '成功') return wx.showToast({
-                title: res.data,
+                title: res.msg,
                 icon: "none"
             })
             this.setData({

+ 1 - 1
pages/tabbar/mine/userMsg/index.js

@@ -157,7 +157,7 @@ Page({
         }).then(res => {
             console.log(res)
             if (res.msg != '成功') return wx.showToast({
-                title: res.data,
+                title: res.msg,
                 icon: "none"
             })
             let attinfos = this.data.attinfos;