@lambo-design/pro-layout 1.0.0-beta.139 → 1.0.0-beta.140
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/src/index.vue +1 -2
package/package.json
CHANGED
package/src/index.vue
CHANGED
|
@@ -159,12 +159,11 @@ export default {
|
|
|
159
159
|
Bus.$emit('system-info',this.systemInfo)
|
|
160
160
|
Bus.$emit('user-info',this.userInfo)
|
|
161
161
|
Bus.$emit('nav-list',this.navList)
|
|
162
|
-
this.menuList
|
|
162
|
+
this.menuList.map(item => {
|
|
163
163
|
// 如果 uri 不以 '/' 开头,添加 '/'
|
|
164
164
|
if (!item.uri.startsWith('/')) {
|
|
165
165
|
item.uri = '/' + item.uri;
|
|
166
166
|
}
|
|
167
|
-
return item;
|
|
168
167
|
});
|
|
169
168
|
Bus.$emit('menu-list',this.menuList)
|
|
170
169
|
},
|