leisure-core 0.6.78 → 0.6.79

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) => !item.hidden);
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
  // 判断是否有右侧内容
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "leisure-core",
3
- "version": "0.6.78",
3
+ "version": "0.6.79",
4
4
  "description": "leisure-core是京心数据基于vue2.x开发的一套后台管理系统桌面端组件库,封装了大量实用的UI控件模板,非常方便开发者快速搭建前端应用",
5
5
  "private": false,
6
6
  "author": "北方乐逍遥(zcx7878)",