Compare commits

..

2 Commits

Author SHA1 Message Date
clay b9e45dd82c Merge pull request 'clay : 添加签名,评分两个组件' (#26) from master into pro
continuous-integration/drone/push Build is passing Details
Reviewed-on: http://git.hchyun.com/clay/workflow-engine-web/pulls/26
2023-02-25 14:07:46 +00:00
clay 318e54f53f clay : 添加签名,评分两个组件 2023-02-25 22:06:50 +08:00
1 changed files with 1 additions and 2 deletions

View File

@ -5,7 +5,6 @@ import { Notification, MessageBox, Message } from "element-ui";
// 第三方插件 // 第三方插件
import "element-ui/lib/theme-chalk/index.css"; import "element-ui/lib/theme-chalk/index.css";
import {getToken} from "../main";
Vue.prototype.$axios = axios; Vue.prototype.$axios = axios;
// 字体图标 // 字体图标
@ -38,7 +37,7 @@ service.interceptors.response.use(
rsp => { rsp => {
let data = rsp.data let data = rsp.data
if (data.code === 401){ if (data.code === 401){
getToken() localStorage.clear()
} }
if (data.code === 1000){ if (data.code === 1000){
return data return data