vue2-client 1.8.95 → 1.8.96

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.94 - 1.8.95 -2024-3-12 @江超**
4
+ **1.8.94 - 1.8.96 -2024-3-12 @江超**
5
5
  - 兼容hideInMenu的写法
6
6
  - 修改引用报错
7
7
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue2-client",
3
- "version": "1.8.95",
3
+ "version": "1.8.96",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint",
@@ -350,8 +350,8 @@ function parsefunc (func) {
350
350
  route.router = row.link.split('$')[1]
351
351
  route.params = row.link.split('$')[0]
352
352
  }
353
- if (row.router.includes('?hideInMenu')) {
354
- route.router = row.router.replace('?hideInMenu', '')
353
+ if (route.router.includes('?hideInMenu')) {
354
+ route.router = route.router.replace('?hideInMenu', '')
355
355
  }
356
356
  if (row.children && row.children.length > 0) {
357
357
  route.children = parsefunc(row.children)