优化组件类型声明,添加用户信息检查逻辑,更新导航列表处理
This commit is contained in:
@ -21,7 +21,7 @@
|
||||
import layIndex from './Index.vue'
|
||||
// 空白项目入口
|
||||
const route = useRoute()
|
||||
|
||||
const logStatus = $store.log.useLogStore()
|
||||
const modal = reactive<any>({
|
||||
visible: false,
|
||||
title: "",
|
||||
@ -55,7 +55,7 @@ document.oncontextmenu = function () {
|
||||
};
|
||||
|
||||
onMounted(() => {
|
||||
|
||||
if($cookies.get('userinfo')) logStatus.setIsLogin(true)
|
||||
})
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user