From c9ecd7684e6ada47de4669885e66dc564128e89b Mon Sep 17 00:00:00 2001
From: cuiqian2004 <cuiqian2004@163.com>
Date: 星期五, 15 八月 2025 18:45:05 +0800
Subject: [PATCH] test

---
 pages/modal/5600.vue |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/pages/modal/5600.vue b/pages/modal/5600.vue
index e25414e..b67894c 100644
--- a/pages/modal/5600.vue
+++ b/pages/modal/5600.vue
@@ -255,7 +255,7 @@
 			this.title = options.titlename;
 			this.param = JSON.parse(options.param);
 			// console.log(this.param);
-			const  paramValue = options.paramValue ?JSON.parse(options.paramValue) :undefined
+			const paramValue = options.paramValue ? JSON.parse(options.paramValue) : undefined
 			this.loadData(paramValue)
 		},
 		//椤甸潰鍒濆鍖栬幏鍙栫劍鐐�@@ -302,7 +302,7 @@
 				//浼犲叆鍙傛暟鍊� 				if (paramValue) {
 					this.setFormValues(paramValue)
-					}
+				}
 
 				//鍔犺浇鍒濆鐣岄潰
 				if (this.param.Show_Welcom_Page) {
@@ -1094,10 +1094,10 @@
 					return 0;
 				}
 			},
-setFormValues(attrs) {
+			setFormValues(attrs) {
 				const head_styledef = this.head_styledef
-				if (JSON.stringify(attrs) == '{}') {
-					return;
+				if (!Array.isArray(attrs)) {
+					return
 				}
 				console.log(attrs)
 				attrs.forEach(async (attr, key) => {
@@ -1162,7 +1162,7 @@
 					head_styledef: head_styledef
 				})
 			}, //鏇存柊鍒嗛〉绛句腑鐨勫垪琛ㄩ」鍐呭
-			
+
 			//鏇存柊鍒嗛〉绛句腑鐨勫垪琛ㄩ」鍐呭
 			viewActionSetRow(value) {
 				const $this = this
@@ -2255,7 +2255,7 @@
 					});
 				});
 			},
-			
+
 			//纭畾
 			ok() {
 				this.Before_OK_Event = this.param.Sub_Page[0].Before_ok;

--
Gitblit v1.9.1