优化树结构和展开行懒加载逻辑

This commit is contained in:
xuliangzhan
2022-04-16 17:07:57 +08:00
parent 6b7963b8fb
commit a3f77cd268
17 changed files with 295 additions and 236 deletions

View File

@@ -25,7 +25,7 @@
},
"vxe-table/resizable": {
"type": "boolean",
"description": "所有的列是否允许拖动列宽调整大小,被 column-config.resizable 替换"
"description": "已废弃,被 column-config.resizable 替换"
},
"vxe-table/stripe": {
"type": "boolean",
@@ -65,19 +65,19 @@
},
"vxe-table/highlight-current-row": {
"type": "boolean",
"description": "是否要高亮当前行,被 row-config.isCurrent 替换"
"description": "已废弃,被 row-config.isCurrent 替换"
},
"vxe-table/highlight-hover-row": {
"type": "boolean",
"description": "鼠标移到行是否要高亮显示,被 row-config.isHover 替换"
"description": "已废弃,被 row-config.isHover 替换"
},
"vxe-table/highlight-current-column": {
"type": "boolean",
"description": "是否要高亮当前列,被 column-config.isCurrent 替换"
"description": "已废弃,被 column-config.isCurrent 替换"
},
"vxe-table/highlight-hover-column": {
"type": "boolean",
"description": "鼠标移到列是否要高亮显,被 column-config.isHover 替换"
"description": "已废弃,被 column-config.isHover 替换"
},
"vxe-table/row-class-name": {
"type": "string | (({ row, rowindex, $rowindex }) => any)",
@@ -165,15 +165,15 @@
},
"vxe-table/column-key": {
"type": "boolean",
"description": "是否需要为每一列的 VNode 设置 key 属性(非特殊情况下不需要使用)"
"description": "已废弃,被 column-config.useKey 替换"
},
"vxe-table/row-key": {
"type": "boolean",
"description": "是否需要为每一行的 VNode 设置 key 属性(非特殊情况下没必要设置)"
"description": "已废弃,被 row-config.useKey 替换"
},
"vxe-table/row-id": {
"type": "string",
"description": "自定义行数据唯一主键的字段名(行数据必须要有唯一主键,默认自动生成)"
"description": "已废弃,被 row-config.keyField 替换"
},
"vxe-table/keep-source": {
"type": "boolean",
@@ -461,7 +461,11 @@
},
"vxe-column/title-help": {
"type": "any",
"description": "标题帮助图标配置项"
"description": "即将废弃,请使用 title.prefix"
},
"vxe-column/title-prefix": {
"type": "any",
"description": "标题前缀图标配置项"
},
"vxe-column/cell-type": {
"type": "string",
@@ -521,7 +525,7 @@
},
"vxe-grid/resizable": {
"type": "boolean",
"description": "所有的列是否允许拖动列宽调整大小,被 column-config.resizable 替换"
"description": "已废弃,被 column-config.resizable 替换"
},
"vxe-grid/stripe": {
"type": "boolean",
@@ -561,19 +565,19 @@
},
"vxe-grid/highlight-current-row": {
"type": "boolean",
"description": "是否要高亮当前行,被 row-config.isCurrent 替换"
"description": "已废弃,被 row-config.isCurrent 替换"
},
"vxe-grid/highlight-hover-row": {
"type": "boolean",
"description": "鼠标移到行是否要高亮显示,被 row-config.isHover 替换"
"description": "已废弃,被 row-config.isHover 替换"
},
"vxe-grid/highlight-current-column": {
"type": "boolean",
"description": "是否要高亮当前列,被 column-config.isCurrent 替换"
"description": "已废弃,被 column-config.isCurrent 替换"
},
"vxe-grid/highlight-hover-column": {
"type": "boolean",
"description": "鼠标移到列是否要高亮显,被 column-config.isHover 替换"
"description": "已废弃,被 column-config.isHover 替换"
},
"vxe-grid/row-class-name": {
"type": "string | (({ row, rowindex, $rowindex }) => any)",
@@ -661,15 +665,15 @@
},
"vxe-grid/column-key": {
"type": "boolean",
"description": "是否需要为每一列的 VNode 设置 key 属性(非特殊情况下不需要使用)"
"description": "已废弃,被 column-config.useKey 替换"
},
"vxe-grid/row-key": {
"type": "boolean",
"description": "是否需要为每一行的 VNode 设置 key 属性(非特殊情况下没必要设置)"
"description": "已废弃,被 row-config.useKey 替换"
},
"vxe-grid/row-id": {
"type": "string",
"description": "自定义行数据唯一主键的字段名(行数据必须要有唯一主键,默认自动生成)"
"description": "已废弃,被 row-config.keyField 替换"
},
"vxe-grid/keep-source": {
"type": "boolean",
@@ -1115,6 +1119,10 @@
"type": "string | number",
"description": "原生 maxlength 属性"
},
"vxe-input/multiple": {
"type": "boolean",
"description": "只对 type=date|week|month|quarter|year 有效,是否启用多选"
},
"vxe-input/readonly": {
"type": "boolean",
"description": "是否只读"
@@ -1267,13 +1275,17 @@
"type": "any",
"description": "下拉分组选项属性参数配置"
},
"vxe-select/option-config": {
"type": "any",
"description": "选项配置信息"
},
"vxe-select/option-id": {
"type": "string",
"description": "自定义选项唯一主键的字段名(选项必须要有唯一主键,默认自动生成)"
"description": "已废弃,被 option-config.keyField 替换"
},
"vxe-select/option-key": {
"type": "boolean",
"description": "是否需要为每一行的 VNode 设置 key 属性(非特殊情况下没必要设置)"
"description": "已废弃,被 option-config.useKey 替换"
},
"vxe-select/transfer": {
"type": "boolean",

View File

@@ -134,6 +134,7 @@
"export-method",
"footer-export-method",
"title-help",
"title-prefix",
"cell-type",
"cell-render",
"edit-render",
@@ -354,6 +355,7 @@
"placeholder",
"autocomplete",
"maxlength",
"multiple",
"readonly",
"disabled",
"class-name",
@@ -397,6 +399,7 @@
"option-props",
"option-groups",
"option-group-props",
"option-config",
"option-id",
"option-key",
"transfer"