forked from AkkomaGang/admin-fe
refine
This commit is contained in:
parent
3063d9c865
commit
021a7009cb
2 changed files with 5 additions and 6 deletions
|
@ -61,7 +61,7 @@
|
|||
├── build // 构建相关
|
||||
├── config // 配置相关
|
||||
├── src // 源代码
|
||||
│ ├── api // 所以请求
|
||||
│ ├── api // 所有请求
|
||||
│ ├── assets // 主题 字体等静态资源
|
||||
│ ├── components // 全局公用组件
|
||||
│ ├── directive // 全局指令
|
||||
|
|
|
@ -27,8 +27,7 @@ export default function _fetch(options) {
|
|||
type: 'error',
|
||||
duration: 5 * 1000
|
||||
});
|
||||
// router.push({path: '/'})
|
||||
// TODO
|
||||
// 登出
|
||||
store.dispatch('FedLogOut').then(() => {
|
||||
router.push({ path: '/login' })
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue