Commit 021a7009 authored by Pan's avatar Pan

refine

parent 3063d9c8
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
├── build // 构建相关   ├── build // 构建相关  
├── config // 配置相关 ├── config // 配置相关
├── src // 源代码 ├── src // 源代码
│   ├── api // 所请求 │   ├── api // 所请求
│   ├── assets // 主题 字体等静态资源 │   ├── assets // 主题 字体等静态资源
│   ├── components // 全局公用组件 │   ├── components // 全局公用组件
│   ├── directive // 全局指令 │   ├── directive // 全局指令
......
...@@ -27,8 +27,7 @@ export default function _fetch(options) { ...@@ -27,8 +27,7 @@ export default function _fetch(options) {
type: 'error', type: 'error',
duration: 5 * 1000 duration: 5 * 1000
}); });
// router.push({path: '/'}) // 登出
// TODO
store.dispatch('FedLogOut').then(() => { store.dispatch('FedLogOut').then(() => {
router.push({ path: '/login' }) router.push({ path: '/login' })
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment