@airpower/web 1.10.6 → 1.10.7

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/dist/main.js +1 -1
  2. package/package.json +1 -1
package/dist/main.js CHANGED
@@ -19324,7 +19324,7 @@ class RouterUtil {
19324
19324
  FeedbackUtil.toastError("请先调用 createRouter 创建路由");
19325
19325
  return;
19326
19326
  }
19327
- if (!item.name || !item.path) {
19327
+ if (!item.name || !item.path && !item.component) {
19328
19328
  FeedbackUtil.toastError("路由初始化失败,缺少参数");
19329
19329
  return;
19330
19330
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@airpower/web",
3
3
  "type": "module",
4
- "version": "1.10.6",
4
+ "version": "1.10.7",
5
5
  "description": "AirPower-Web",
6
6
  "author": {
7
7
  "name": "Hamm",