Merge branch 'master' of http://git.luyuan.tk/luyuan/deming into xbx

This commit is contained in:
2020-08-07 17:10:29 +08:00
10 changed files with 76 additions and 29 deletions

View File

@@ -66,7 +66,8 @@ const install = (Vue, vm) => {
}
return false;
} else if (res.errCode == 1) {
console.log(res.message);
// console.log(res.message);
return res;
} else {
// 如果返回false则会调用Promise的reject回调
// 并将进入this.$u.post(url).then().catch(res=>{})的catch回调中res为服务端的返回值