From 49dfdd3bf265db28d38167f34e9aabfdd3e8e5db Mon Sep 17 00:00:00 2001
From: cuiqian2004 <cuiqian2004@163.com>
Date: 星期五, 17 十月 2025 10:16:58 +0800
Subject: [PATCH] imagebutton
---
components/oi-form/index.vue | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/components/oi-form/index.vue b/components/oi-form/index.vue
index 3d23cc7..3a9ca90 100644
--- a/components/oi-form/index.vue
+++ b/components/oi-form/index.vue
@@ -53,6 +53,7 @@
},
methods: {
setFormItemVisible(attrs) {
+ console.log(attrs)
attrs.forEach((attr) => {
let index = this.hiddenIds.findIndex((id) => id == attr.attr);
if (attr.show) {
@@ -61,6 +62,7 @@
if (index == -1) this.hiddenIds.push(attr.attr);
}
});
+ console.log(this.hiddenIds)
},
clearFormValues() {
if (!this.form.model) return;
@@ -80,6 +82,7 @@
this.form.model[attr] = item.value;
this.$emit("on-change", item)
},
+
onClick(item) {
this.$emit("on-click", item)
},
--
Gitblit v1.9.1