@tb-dev/vue 0.3.27 → 0.3.28
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.
|
@@ -11,7 +11,7 @@ export interface TableProps {
|
|
|
11
11
|
footerStyle?: HTMLAttributes['style'];
|
|
12
12
|
headerClass?: HTMLAttributes['class'];
|
|
13
13
|
headerStyle?: HTMLAttributes['style'];
|
|
14
|
-
|
|
14
|
+
height?: number | string;
|
|
15
15
|
style?: HTMLAttributes['style'];
|
|
16
16
|
}
|
|
17
17
|
export interface TableLinkProps<T extends string> {
|
package/dist/index.js
CHANGED
|
@@ -5886,16 +5886,13 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
5886
5886
|
footerStyle: {},
|
|
5887
5887
|
headerClass: {},
|
|
5888
5888
|
headerStyle: {},
|
|
5889
|
-
|
|
5889
|
+
height: {},
|
|
5890
5890
|
style: {}
|
|
5891
5891
|
},
|
|
5892
5892
|
setup(__props) {
|
|
5893
5893
|
const props = __props;
|
|
5894
5894
|
const containerHeight = computed(() => {
|
|
5895
|
-
|
|
5896
|
-
return { maxHeight: toPixel(props.maxHeight) };
|
|
5897
|
-
}
|
|
5898
|
-
return null;
|
|
5895
|
+
return props.height ? { maxHeight: toPixel(props.height) } : null;
|
|
5899
5896
|
});
|
|
5900
5897
|
return (_ctx, _cache) => {
|
|
5901
5898
|
return openBlock(), createElementBlock("div", {
|