zhaoxiaohai 2 years ago
parent
commit
01e3725e47
2 changed files with 2 additions and 2 deletions
  1. 1 1
      pages/tabbar/message/details.js
  2. 1 1
      pages/tabbar/message/index.js

+ 1 - 1
pages/tabbar/message/details.js

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

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

@@ -72,7 +72,7 @@ Page({
         }).then(res => {
         }).then(res => {
             this.selectComponent('#ListBox').RefreshToComplete();
             this.selectComponent('#ListBox').RefreshToComplete();
             if (res.msg != '成功') return wx.showToast({
             if (res.msg != '成功') return wx.showToast({
-                title: res.data,
+                title: res.msg,
                 icon: "none"
                 icon: "none"
             })
             })
             this.setData({
             this.setData({