mirror of
https://gitee.com/dromara/Jpom.git
synced 2024-11-30 19:08:18 +08:00
update config.js file for lgout feature
This commit is contained in:
parent
ca1b7fe025
commit
45e59ee998
@ -1,7 +1,5 @@
|
||||
module.exports = {
|
||||
presets: [
|
||||
'@vue/cli-plugin-babel/preset'
|
||||
],
|
||||
presets: [],
|
||||
plugins: [
|
||||
[
|
||||
'component',
|
||||
|
@ -121,6 +121,7 @@ function checkJWTToken(res, response) {
|
||||
});
|
||||
store.dispatch('logOut').then(() => {
|
||||
router.push('/login');
|
||||
location.reload();
|
||||
});
|
||||
return false;
|
||||
}
|
||||
|
@ -21,4 +21,4 @@ new Vue({
|
||||
router,
|
||||
store,
|
||||
render: h => h(App),
|
||||
}).$mount('#app')
|
||||
}).$mount('#app');
|
||||
|
Loading…
Reference in New Issue
Block a user