|
@@ -45,7 +45,7 @@
|
|
|
import QRCodeVue from 'qrcode.vue'
|
|
|
import { get } from 'lodash-es'
|
|
|
import { LoginOutlined } from '@ant-design/icons-vue'
|
|
|
-import { siteInfo, menuList3 } from '@/layout/site'
|
|
|
+import { siteInfo } from '@/layout/site'
|
|
|
// 接口
|
|
|
import { DesignStore } from '@/store/api/platform/design'
|
|
|
const designStore = DesignStore()
|
|
@@ -54,6 +54,7 @@ import { UserStore } from '@/store/user'
|
|
|
const userStore = UserStore()
|
|
|
const user = computed(() => userStore.user)
|
|
|
const menusList = get(user, 'value.menus', [])
|
|
|
+
|
|
|
// 加载中
|
|
|
const loading = ref(false)
|
|
|
// 路由
|
|
@@ -79,6 +80,7 @@ const checkHasComponent = (menu) => {
|
|
|
// 请求
|
|
|
onMounted(async () => {
|
|
|
await searchOther()
|
|
|
+ menusList.value = get(user, 'value.menus', [])
|
|
|
})
|
|
|
const searchOther = async () => {
|
|
|
// 基础设置
|