leisure-core 1.0.5 → 1.0.6

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.
@@ -43,6 +43,8 @@
43
43
  :scroll-y="{ gt: 0 }"
44
44
  :show-footer="showSummary && summaryPosition === 'bottom'"
45
45
  :footer-method="summaryPosition === 'bottom' ? footerMethod : null"
46
+ :tree-config="treeConfig"
47
+ @toggle-tree-expand="$emit('toggle-expand', $event)"
46
48
  >
47
49
  <!-- 加载状态插槽 -->
48
50
  <template #loading>
@@ -280,6 +282,11 @@ export default {
280
282
  type: Array,
281
283
  default: () => ["currency", "number", "percent"],
282
284
  },
285
+ // 树形配置,传入后 vxe-table 启用树形模式(如 {children:'children'})
286
+ treeConfig: {
287
+ type: Object,
288
+ default: null,
289
+ },
283
290
  },
284
291
  watch: {
285
292
  searchParam: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "leisure-core",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "leisure-core是京心数据基于vue2.x开发的一套后台管理系统桌面端组件库,封装了大量实用的UI控件模板,非常方便开发者快速搭建前端应用",
5
5
  "private": false,
6
6
  "author": "北方乐逍遥(zcx7878)",