@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.
- package/dist/main.js +1 -1
- 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
|
}
|