fix: 拦截处理

This commit is contained in:
caoqianming 2024-05-16 23:55:52 +08:00
parent 78546c7071
commit 4de3363f1d
1 changed files with 1 additions and 1 deletions

View File

@ -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){