|
|
@@ -13,7 +13,6 @@
|
|
|
import { initTheme } from '@/common/config/theme';
|
|
|
import { setLoadComplete } from '@/common/methods';
|
|
|
import Router from '@/router';
|
|
|
-import APP from '@/services';
|
|
|
import { globalDataRefresh } from '@/services/bus/index';
|
|
|
import { isLogin, logout } from '@/services/bus/login';
|
|
|
import { notice } from '@/services/bus/system';
|
|
|
@@ -129,7 +128,7 @@ export default defineComponent({
|
|
|
okText: '确定',
|
|
|
keyboard: false,
|
|
|
onOk() {
|
|
|
- Router.replace('/login');
|
|
|
+ logout();
|
|
|
},
|
|
|
});
|
|
|
});
|