zhaoxiaohai 3 lat temu
rodzic
commit
45bc39dbc0
2 zmienionych plików z 5 dodań i 5 usunięć
  1. 4 4
      pages/submission/details.js
  2. 1 1
      pages/submission/index.js

+ 4 - 4
pages/submission/details.js

@@ -83,7 +83,7 @@ Page({
             }
         }).then(res => {
             if (res.msg != '成功') return wx.showToast({
-                title: res.data,
+                title: res.msg,
                 icon: "none"
             });
             this.setData({
@@ -104,7 +104,7 @@ Page({
         }).then(res => {
             console.log(this.data.submiteditData.attinfos)
             if (res.msg != '成功') return wx.showToast({
-                title: res.data,
+                title: res.msg,
                 icon: "none"
             })
             wx.showToast({
@@ -135,7 +135,7 @@ Page({
             }
         }).then(res => {
             if (res.msg != '成功') return wx.showToast({
-                title: res.data,
+                title: res.msg,
                 icon: "none"
             })
             this.setData({
@@ -183,7 +183,7 @@ Page({
                 loading: false
             })
             if (res.msg != '成功') return wx.showToast({
-                title: res.data,
+                title: res.msg,
                 icon: "none"
             });
             this.setData({

+ 1 - 1
pages/submission/index.js

@@ -84,7 +84,7 @@ Page({
             console.log("提报列表", res)
             this.selectComponent('#ListBox').RefreshToComplete();
             if (res.msg != '成功') return wx.showToast({
-                title: res.data,
+                title: res.msg,
                 icon: "none"
             })
             for (let i = 0; i < res.data.length; i++) {