|
|
@@ -49,8 +49,7 @@ const isCollapsed = ref(false)
|
|
|
|
|
|
// ib按钮展示
|
|
|
const ibStatus = computed(() => {
|
|
|
- const info: any = userInfo.value
|
|
|
- return !!info && !!info.customInfo && info.customInfo.ibInvalid == 0 && !!info.ibInfo
|
|
|
+ return userInfo.value?.customInfo?.ibInvalid == 0 && !!userInfo.value?.ibInfo
|
|
|
})
|
|
|
|
|
|
// 固定菜单项点击事件
|
|
|
@@ -212,4 +211,4 @@ function handleFixedMenuClick() {
|
|
|
display: flex;
|
|
|
}
|
|
|
}
|
|
|
-</style>
|
|
|
+</style>
|