leisure-core 0.6.78 → 0.6.80
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -172,7 +172,12 @@ export default {
|
|
|
172
172
|
},
|
|
173
173
|
computed: {
|
|
174
174
|
filteredFormColumns() {
|
|
175
|
-
return this.formColumns.filter((item) =>
|
|
175
|
+
return this.formColumns.filter((item) => {
|
|
176
|
+
if (typeof item.hidden === "function") {
|
|
177
|
+
return !item.hidden(this.formPop);
|
|
178
|
+
}
|
|
179
|
+
return !item.hidden;
|
|
180
|
+
});
|
|
176
181
|
},
|
|
177
182
|
|
|
178
183
|
// 判断是否有右侧内容
|