zhaoxiaohai hace 3 años
padre
commit
9762e87c1a
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  1. 1 1
      pages/college/detail.js
  2. 1 1
      pages/college/index.js

+ 1 - 1
pages/college/detail.js

@@ -40,7 +40,7 @@ Page({
             }
         }, false).then(res => {
             if (res.msg != '成功') return wx.showToast({
-                title: res.data,
+                title: res.msg,
                 icon: "none"
             });
             let list = MFT.fileList(res.data.attinfos);

+ 1 - 1
pages/college/index.js

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