vue-devui 1.6.10 → 1.6.12

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/table/index.es.js CHANGED
@@ -169,7 +169,7 @@ function useTable(props, tableWidth) {
169
169
  maxHeight: props.maxHeight,
170
170
  maxWidth: props.maxWidth,
171
171
  height: props.tableHeight,
172
- width: tableWidth.value ? `${tableWidth.value}px` : props.tableWidth
172
+ width: props.tableWidth
173
173
  }));
174
174
  return { classes, styles };
175
175
  }
@@ -7547,8 +7547,7 @@ const commonProps = {
7547
7547
  default: void 0
7548
7548
  },
7549
7549
  size: {
7550
- type: String,
7551
- default: "md"
7550
+ type: String
7552
7551
  },
7553
7552
  showGlowStyle: {
7554
7553
  type: Boolean,
@@ -9762,7 +9761,7 @@ function useCheckboxGroup(props, ctx) {
9762
9761
  formItemContext == null ? void 0 : formItemContext.validate("change").catch(() => {
9763
9762
  });
9764
9763
  }, { deep: true });
9765
- const checkboxGroupSize = computed(() => props.size || (formContext == null ? void 0 : formContext.size) || "");
9764
+ const checkboxGroupSize = computed(() => props.size || (formContext == null ? void 0 : formContext.size) || "md");
9766
9765
  provide(checkboxGroupInjectionKey, {
9767
9766
  disabled: toRef(props, "disabled"),
9768
9767
  isShowTitle: toRef(props, "isShowTitle"),
@@ -11266,7 +11265,7 @@ var Table = defineComponent({
11266
11265
  const {
11267
11266
  classes,
11268
11267
  styles
11269
- } = useTable(props, tableWidth);
11268
+ } = useTable(props);
11270
11269
  const {
11271
11270
  onTableScroll
11272
11271
  } = useHorizontalScroll(table2);