zs 3 年之前
父节点
当前提交
11c7a53100
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      pages/administration/index.js
  2. 1 1
      pages/home/index.js

+ 1 - 1
pages/administration/index.js

@@ -94,7 +94,7 @@ Page({
       data: { match_id: e._id },
       success(res) {
         if (res.data.errcode == 0) { } else {
-          wx.showToast({ title: res.data.errmsg, icon: 'none', duration: 2000 })
+          wx.showToast({ title: res.errmsg, icon: 'none', duration: 2000 })
         }
       }
     })

+ 1 - 1
pages/home/index.js

@@ -72,7 +72,7 @@ Page({
       data: { match_id: e._id },
       success(res) {
         if (res.data.errcode == 0) { } else {
-          wx.showToast({ title: res.data.errmsg, icon: 'none', duration: 2000 })
+          wx.showToast({ title: res.errmsg, icon: 'none', duration: 2000 })
         }
       }
     })