企业需求模块

This commit is contained in:
熊丽君
2021-08-11 08:46:50 +08:00
parent 18ccebcd39
commit 9dcfe6e811
5 changed files with 103 additions and 82 deletions

View File

@ -1,4 +1,4 @@
import axios from 'axios'
import axios from 'axios'
import { Notification, MessageBox, Message } from 'element-ui'
import store from '@/store'
import { getToken } from '@/utils/auth'
@ -39,7 +39,7 @@ service.interceptors.response.use(res => {
}
).then(() => {
store.dispatch('LogOut').then(() => {
location.href = '/index';
location.href = '/home';
})
})
} else if (code === 500) {