@lambo-design/pro-layout 1.0.0-beta.140 → 1.0.0-beta.141

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.vue +3 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lambo-design/pro-layout",
3
- "version": "1.0.0-beta.140",
3
+ "version": "1.0.0-beta.141",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {},
package/src/index.vue CHANGED
@@ -162,6 +162,9 @@ export default {
162
162
  this.menuList.map(item => {
163
163
  // 如果 uri 不以 '/' 开头,添加 '/'
164
164
  if (!item.uri.startsWith('/')) {
165
+ if(item.uri.includes('?')){
166
+ item.uri = item.uri.split('?')[0]
167
+ }
165
168
  item.uri = '/' + item.uri;
166
169
  }
167
170
  });