|
@@ -5,8 +5,8 @@ const APP_TITLE = ref(document.title)
|
|
|
function handleCommand(command) {
|
|
|
switch (command) {
|
|
|
case 'loginOut':
|
|
|
- if (localStorage.getItem('userInfo')) {
|
|
|
- localStorage.removeItem('userInfo');
|
|
|
+ if (sessionStorage.getItem('userInfo')) {
|
|
|
+ sessionStorage.removeItem('userInfo');
|
|
|
window.open(window.GLOBAL_CONFIG.origin, '_self');
|
|
|
// loginShow = true;
|
|
|
}
|