From 2bdbe42d8d4b03b46d2066e50e595a06cebd43c2 Mon Sep 17 00:00:00 2001 From: lzhe <181968431@qq.com> Date: 星期六, 13 四月 2024 22:34:05 +0800 Subject: [PATCH] 1 --- src/views/login/components/passwordForm.vue | 17 ++++++++++++----- 1 files changed, 12 insertions(+), 5 deletions(-) diff --git a/src/views/login/components/passwordForm.vue b/src/views/login/components/passwordForm.vue index a8e1c88..99e6d5e 100644 --- a/src/views/login/components/passwordForm.vue +++ b/src/views/login/components/passwordForm.vue @@ -103,10 +103,17 @@ } else { // 濡傛灉娌℃湁 children 灞炴�э紝璇存槑鏄渶鍚庝竴绾э紝娣诲姞 component 瀵硅薄 var len = clonedItem.path.length; - clonedItem.component = clonedItem.path.substring(1,len); + if(item.name == "浠诲姟璋冨害") { + //clonedItem.component = clonedItem.path; //鏈塩omponent涓嶅彲浠ヤ娇鐢╥frame + }else { + clonedItem.component = clonedItem.path.substring(1,len); + } } - //console.log(clonedItem.source) - clonedItem.meta = {title: clonedItem.name,icon: "el-icon-takeaway-box", type: "menu"} + 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"} + } return clonedItem; }); } @@ -146,6 +153,6 @@ </script> <style> -.login-form {margin: 0 auto;margin-top: 46px;width: 354px;} -.inputHeight {height: 60px;line-height: 60px;} +.login-form {margin: 0 auto;margin-top: 46px;width: 294px;} +.inputHeight {height: 40px;line-height: 40px;} </style> -- Gitblit v1.9.3