@lambo-design/pro-layout 1.0.0-beta.144 → 1.0.0-beta.145

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 CHANGED
@@ -1,17 +1,17 @@
1
- {
2
- "name": "@lambo-design/pro-layout",
3
- "version": "1.0.0-beta.144",
4
- "description": "",
5
- "main": "index.js",
6
- "scripts": {},
7
- "author": "lambo",
8
- "license": "ISC",
9
- "publishConfig": {
10
- "access": "public",
11
- "registry": "https://registry.npmjs.org/"
12
- },
13
- "devDependencies": {
14
- "@lambo-design/core": "workspace:^",
15
- "@lambo-design/shared": "workspace:^"
16
- }
17
- }
1
+ {
2
+ "name": "@lambo-design/pro-layout",
3
+ "version": "1.0.0-beta.145",
4
+ "description": "",
5
+ "main": "index.js",
6
+ "author": "lambo",
7
+ "license": "ISC",
8
+ "publishConfig": {
9
+ "access": "public",
10
+ "registry": "https://registry.npmjs.org/"
11
+ },
12
+ "devDependencies": {
13
+ "@lambo-design/core": "^4.7.1-beta.91",
14
+ "@lambo-design/shared": "^1.0.0-beta.71"
15
+ },
16
+ "scripts": {}
17
+ }
@@ -279,8 +279,6 @@ export default {
279
279
  },
280
280
  created(){
281
281
  this.initListener();
282
- console.log('this.tagList:',this.tagList)
283
- console.log('this.menuList:',this.menuList)
284
282
  },
285
283
  beforeDestroy(){
286
284
  this.destroyListener();
package/src/index.vue CHANGED
@@ -161,7 +161,7 @@ export default {
161
161
  Bus.$emit('nav-list',this.navList)
162
162
  this.menuList.map(item => {
163
163
  // 如果 uri 不以 '/' 开头,添加 '/'
164
- if (!item.uri.startsWith('/')) {
164
+ if (item.uri&&!item.uri.startsWith('/')) {
165
165
  item.uri = '/' + item.uri;
166
166
  }
167
167
  });