@gx-design-vue/create-gx-cli 0.1.11 → 0.1.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/template-gx-design-thin/config/default/defaultSettings.ts +1 -1
- package/template-gx-design-thin/mock/config/menu.ts +2 -2
- package/template-gx-design-thin/src/router/helper/routeHelper.ts +0 -8
- package/template-gx-design-thin/src/router/routes/modules/dataSource.ts +1 -1
package/package.json
CHANGED
@@ -7,9 +7,9 @@ export const menuList: MenuDataItem[] = getLevelData([
|
|
7
7
|
component: 'Page/one',
|
8
8
|
createTime: dayjs().format('YYYY-MM-DD HH:mm:ss'),
|
9
9
|
menuId: 2,
|
10
|
-
path: '
|
10
|
+
path: 'one',
|
11
11
|
title: '页面一',
|
12
|
-
name: '
|
12
|
+
name: 'PageOne',
|
13
13
|
menuType: 'C',
|
14
14
|
orderNum: '2',
|
15
15
|
isFrame: '1',
|
@@ -88,14 +88,6 @@ export function getRootMenu(rows: MenuDataItem[]): MenuDataItem[] {
|
|
88
88
|
buildtree(rows, menus, 0)
|
89
89
|
}
|
90
90
|
rootRouter[0].children = menus
|
91
|
-
rootRouter[0].children.push({
|
92
|
-
key: 'externalLink',
|
93
|
-
path: '/externalLink',
|
94
|
-
meta: {
|
95
|
-
title: '外链地址'
|
96
|
-
},
|
97
|
-
hidden: true
|
98
|
-
} as MenuDataItem)
|
99
91
|
return cloneDeep(rootRouter)
|
100
92
|
}
|
101
93
|
|