1
lzhe
2024-06-19 fdb97cca1f302db3fe07cc700130a085d991d682
src/views/login/components/passwordForm.vue
@@ -114,16 +114,14 @@
                     // 如果没有 children 属性,说明是最后一级,添加 component 对象  
                     var len = clonedItem.path.length;
                     if (item.name == "任务调度") {
                        //clonedItem.component = clonedItem.path;   //有component不可以使用iframe
                        clonedItem.origin = item.path;
                        clonedItem.component = "myiframe/urlPath";   //有component不可以使用iframe
                        clonedItem.path = "/myiframe/urlPath";
                     } else {
                        clonedItem.component = clonedItem.path.substring(1, len);
                     }
                  }
                  if (item.name == "任务调度") {
                     clonedItem.meta = { title: clonedItem.name, icon: "el-icon-takeaway-box", type: "iframe" }
                  } else {
                     clonedItem.meta = { title: clonedItem.name, icon: "el-icon-takeaway-box", type: "menu" }
                  }
                  clonedItem.meta = { title: clonedItem.name, icon: "el-icon-takeaway-box", type: "menu" }
                  return clonedItem;
               });
            }