|
@@ -43,6 +43,7 @@ let moduleList: Ref<any[]> = ref([]);
|
|
let user = store.state.user as { _id: string; name: string; unit_name: string; nick_name: string; role_type: string };
|
|
let user = store.state.user as { _id: string; name: string; unit_name: string; nick_name: string; role_type: string };
|
|
|
|
|
|
const toDrop = (e: string) => {
|
|
const toDrop = (e: string) => {
|
|
|
|
+ // q;
|
|
if (e == 'logout') {
|
|
if (e == 'logout') {
|
|
localStorage.removeItem('token');
|
|
localStorage.removeItem('token');
|
|
window.location.href = `${import.meta.env.VITE_APP_HOST}`;
|
|
window.location.href = `${import.meta.env.VITE_APP_HOST}`;
|