fix: 拦截处理
This commit is contained in:
parent
78546c7071
commit
4de3363f1d
|
@ -19,7 +19,7 @@ function request(url, method, data) {
|
|||
}
|
||||
else {
|
||||
var msg = '请求错误'
|
||||
if(res.data.msg){
|
||||
if(res.data.msg && typeof(res.data.msg) == "string"){
|
||||
msg = res.data.msg
|
||||
}
|
||||
if (msg.indexOf('该操作的权限')!=-1){
|
||||
|
|
Loading…
Reference in New Issue