zhaoxiaohai 2 年之前
父节点
当前提交
b5d9286d44
共有 2 个文件被更改,包括 4 次插入4 次删除
  1. 3 3
      pages/annunciate/details.js
  2. 1 1
      pages/annunciate/index.js

+ 3 - 3
pages/annunciate/details.js

@@ -41,7 +41,7 @@ Page({
         }).then(res => {
             console.log('详情', res)
             if (res.msg != '成功') return wx.showToast({
-                title: res.data,
+                title: res.msg,
                 icon: "none"
             });
             let list = MFT.fileList(res.data.attinfos.filter(v => v.usetype != 'cover')),
@@ -68,7 +68,7 @@ Page({
         }).then(res => {
             console.log(321654,res)
             if (res.msg != '成功') return wx.showToast({
-                title: res.data,
+                title: res.msg,
                 icon: "none"
             });
             let isEvaluate = false;
@@ -158,7 +158,7 @@ Page({
                 loading: false
             });
             if (res.msg != '成功') return wx.showToast({
-                title: res.data,
+                title: res.msg,
                 icon: "none"
             });
             wx.showToast({

+ 1 - 1
pages/annunciate/index.js

@@ -50,7 +50,7 @@ Page({
             console.log("通告列表", res)
             this.selectComponent('#ListBox').RefreshToComplete();
             if (res.msg != '成功') return wx.showToast({
-                title: res.data,
+                title: res.msg,
                 icon: "none"
             })
             this.setData({