Skip to content
This repository was archived by the owner on Oct 27, 2021. It is now read-only.

Commit f97a7bf

Browse files
author
pengshanglong
committed
fix(tabs): tabs props height
1 parent b69712c commit f97a7bf

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/components/tabs/index.jsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ export default {
2626
validator: (val) => ['horizontal', 'vertical'].includes(val),
2727
},
2828
height: {
29-
type: Number,
30-
default: 0,
29+
type: String,
30+
default: '',
3131
},
3232
current: {
3333
type: Number,

tests/components/tabs/index.jsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ export default {
2525
validator: (val) => ['horizontal', 'vertical'].includes(val),
2626
},
2727
height: {
28-
type: Number,
29-
default: 0,
28+
type: String,
29+
default: '',
3030
},
3131
current: {
3232
type: Number,

0 commit comments

Comments
 (0)