|
@@ -1,6 +1,6 @@
|
|
|
import { getStore, setStore } from 'hc-vue3-ui'
|
|
|
import { deepClone, getArrValue, isNullES } from 'js-fast-way'
|
|
|
-import testMenu from './modules/menu'
|
|
|
+//import testMenu from './modules/menu'
|
|
|
|
|
|
//获取路由菜单
|
|
|
export const getRouterData = async (toName) => {
|
|
@@ -11,6 +11,7 @@ export const getRouterData = async (toName) => {
|
|
|
//获取菜单数据
|
|
|
export const getMenuData = async () => {
|
|
|
let projectMenu = [], menu = getStore('projectMenu')
|
|
|
+ const testMenu = getStore('menus')
|
|
|
for (let i = 0; i < testMenu.length; i++) {
|
|
|
if (testMenu[i].code === 'project') {
|
|
|
projectMenu = await getProjectChildren(testMenu[i].children)
|