Skip to content

Commit 21f0b17

Browse files
authored
feat: ✨ Table 行高支持Number和String类型 (#682)
1 parent 9f318bd commit 21f0b17

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • src/uni_modules/wot-design-uni/components/wd-table

src/uni_modules/wot-design-uni/components/wd-table/types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* 记得注释
99
*/
1010
import type { CSSProperties, ExtractPropTypes, InjectionKey } from 'vue'
11-
import { baseProps, makeBooleanProp, makeNumberProp, makeRequiredProp, makeStringProp } from '../common/props'
11+
import { baseProps, makeBooleanProp, makeNumericProp, makeRequiredProp, makeStringProp } from '../common/props'
1212
import type { TableColumnProps } from '../wd-table-col/types'
1313
import type { PropType } from 'vue'
1414

@@ -33,7 +33,7 @@ export const tableProps = {
3333
/**
3434
* 行高
3535
*/
36-
rowHeight: makeNumberProp(50),
36+
rowHeight: makeNumericProp(50),
3737
/**
3838
* 是否显示表头
3939
*/

0 commit comments

Comments
 (0)