From fdb97cca1f302db3fe07cc700130a085d991d682 Mon Sep 17 00:00:00 2001
From: lzhe <lzhe@example.com>
Date: 星期三, 19 六月 2024 22:41:49 +0800
Subject: [PATCH] 1

---
 src/views/login/components/passwordForm.vue |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/src/views/login/components/passwordForm.vue b/src/views/login/components/passwordForm.vue
index 4bd9d3a..0f39872 100644
--- a/src/views/login/components/passwordForm.vue
+++ b/src/views/login/components/passwordForm.vue
@@ -18,9 +18,11 @@
 </template>
 
 <script>
+//import io from 'socket.io-client';
 export default {
 	data() {
 		return {
+			socket: null,  
 			userType: 'admin',
 			form: {
 				user: "admin",
@@ -52,7 +54,7 @@
 	mounted() {
 		//this.$HTTP.get('/api/blade-sync/outer-app-config/appStatus')
 	},
-	methods: {
+	methods: {  
 		async login() {
 			var validate = await this.$refs.loginForm.validate().catch(() => { })
 			if (!validate) { return false }
@@ -112,16 +114,14 @@
 							// 濡傛灉娌℃湁 children 灞炴�э紝璇存槑鏄渶鍚庝竴绾э紝娣诲姞 component 瀵硅薄  
 							var len = clonedItem.path.length;
 							if (item.name == "浠诲姟璋冨害") {
-								//clonedItem.component = clonedItem.path;   //鏈塩omponent涓嶅彲浠ヤ娇鐢╥frame
+								clonedItem.origin = item.path;
+								clonedItem.component = "myiframe/urlPath";   //鏈塩omponent涓嶅彲浠ヤ娇鐢╥frame
+								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;
 					});
 				}
@@ -139,7 +139,7 @@
 						transformedArray[0].path = "/home";
 						transformedArray[0].children = resp.data;
 						var obj = {
-							dashboardGrid: ["welcome", "ver", "time", "progress", "echarts", "about"],
+							dashboardGrid: ["Access", "deskNotice", "Entrance"],
 							menu: transformedArray,
 							permissions: ["list.add", "list.edit", "list.delete", "user.add", "user.edit", "user.delete"]
 						}

--
Gitblit v1.9.3