vue2-client 1.8.29 → 1.8.30

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/CHANGELOG.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # Change Log
2
2
  > 所有关于本项目的变化都在该文档里。
3
3
 
4
- **1.8.29 -2023-1-10 @张振宇**
4
+ **1.8.30 -2023-1-10 @张振宇**
5
5
  - 微前端兼容
6
6
 
7
7
  **1.8.26 -2023-1-10 @杨亚文**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue2-client",
3
- "version": "1.8.29",
3
+ "version": "1.8.30",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint",
@@ -346,6 +346,10 @@ function parsefunc (func) {
346
346
  icon: row.icon,
347
347
  name: row.name
348
348
  }
349
+ if (row.link.includes('$')) {
350
+ route.router = row.link.split('$')[1]
351
+ route.params = row.link.split('$')[0]
352
+ }
349
353
  if (row.children && row.children.length > 0) {
350
354
  route.children = parsefunc(row.children)
351
355
  }