|
@@ -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 })
|
|
|
}
|
|
|
},
|
|
|
/**
|