clay : 添加签名,评分两个组件 #26

Merged
clay merged 1 commits from master into pro 2023-02-25 14:07:46 +00: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 {getToken} from "../main";
Vue.prototype.$axios = axios;
// 字体图标
@ -38,7 +37,7 @@ service.interceptors.response.use(
rsp => {
let data = rsp.data
if (data.code === 401){
getToken()
localStorage.clear()
}
if (data.code === 1000){
return data