holyes-table 1.0.21 → 1.0.22

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.
package/dist/index.mjs CHANGED
@@ -1741,8 +1741,7 @@ var ge = (e) => {
1741
1741
  closeLabel: f.slots?.defaultProps?.switch?.closeLabel ?? f.slots?.defaultProps?.switch?.uncheckedChildren ?? "",
1742
1742
  openValue: f.slots?.defaultProps?.switch?.openValue ?? f.slots?.defaultProps?.switch?.checkedValue ?? !0,
1743
1743
  closeValue: f.slots?.defaultProps?.switch?.closeValue ?? f.slots?.defaultProps?.switch?.uncheckedValue ?? !1,
1744
- disabled: f.slots?.defaultProps?.switch?.disabledField && t[f.slots?.defaultProps?.switch?.disabledField],
1745
- loading: f.slots?.defaultProps?.switch?.loadingField && t[f.slots?.defaultProps?.switch?.loadingField],
1744
+ disabled: f.slots?.defaultProps?.switch?.disabledField && t[f.slots?.defaultProps?.switch?.disabledField] || f.slots?.defaultProps?.switch?.loadingField && t[f.slots?.defaultProps?.switch?.loadingField],
1746
1745
  onChange: (e) => f.slots?.defaultProps?.switch?.onChange?.(t, g)
1747
1746
  }, null, 8, [
1748
1747
  "modelValue",
@@ -1751,7 +1750,6 @@ var ge = (e) => {
1751
1750
  "openValue",
1752
1751
  "closeValue",
1753
1752
  "disabled",
1754
- "loading",
1755
1753
  "onChange"
1756
1754
  ])) : r("", !0)], 4)) : f.slots?.defaultType == "checkbox" ? (h(), i("span", Fe, [s(S(k), {
1757
1755
  modelValue: t[f.field],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "holyes-table",
3
- "version": "1.0.21",
3
+ "version": "1.0.22",
4
4
  "description": "合力思虚拟滚动表格组件",
5
5
  "main": "./dist/index.mjs",
6
6
  "module": "./dist/index.mjs",
@@ -1,5 +1,9 @@
1
1
  # 更新日志
2
2
 
3
+ ## v1.0.22 (2026-06-25)
4
+
5
+ - 修复switch列的loadingField问题
6
+
3
7
  ## v1.0.21 (2026-06-25)
4
8
 
5
9
  - 增加表格高度偏移属性heightOffset, 用于没什么数据时,可能由于滚动条的高度原因,导致出现滚动条,需要偏移量来解决