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/form/index.vue | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/pages/modal/form/index.vue b/pages/modal/form/index.vue
index 258f5f0..6b26cdf 100644
--- a/pages/modal/form/index.vue
+++ b/pages/modal/form/index.vue
@@ -904,8 +904,8 @@
setFormValues(attrs) {
console.log(attrs)
const head_styledef = this.head_styledef
- if (JSON.stringify(attrs) == '{}') {
- return;
+ if (!Array.isArray(attrs)) {
+ return
}
attrs.forEach(async (attr, key) => {
if (attr.choice_list) {
--
Gitblit v1.9.1