yuang-framework-ui-pc 1.1.61 → 1.1.62

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.
@@ -13,7 +13,7 @@ function getRoutePath(path) {
13
13
  if (!path || !path.includes("?")) {
14
14
  return path;
15
15
  }
16
- return path.substring(0, path.indexOf("?"));
16
+ return path;
17
17
  }
18
18
  function getRouteComponent(menu, name, func) {
19
19
  if (!menu.component || !isExternalLink(menu.component)) {
@@ -15,7 +15,7 @@ function getRoutePath(path) {
15
15
  if (!path || !path.includes("?")) {
16
16
  return path;
17
17
  }
18
- return path.substring(0, path.indexOf("?"));
18
+ return path;
19
19
  }
20
20
  function getRouteComponent(menu, name, func) {
21
21
  if (!menu.component || !core.isExternalLink(menu.component)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yuang-framework-ui-pc",
3
- "version": "1.1.61",
3
+ "version": "1.1.62",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "dev": "vite --host --config vite.global.ts --mode dev",