This commit is contained in:
Gdpao
2020-08-06 20:46:40 +08:00
19 changed files with 374 additions and 90 deletions

View File

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