lrf 2 лет назад
Родитель
Сommit
7cc20e0bd4
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      pages/usermyteam/add.js

+ 1 - 1
pages/usermyteam/add.js

@@ -67,7 +67,7 @@ Page({
             let arr;
             arr = await app.$post(`/newCourt/api/teamApply`, params);
             if (arr.errcode == '0') { wx.showToast({ title: `添加信息完成`, icon: 'success', duration: 2000 }); that.back(); }
-            else wx.showToast({ title: `${error.msg}`, icon: 'error', duration: 2000 })
+            else wx.showToast({ title: `${arr.errmsg}`, icon: 'error', duration: 2000 })
         }
     },
     /**