Skip to content

Commit 52c6ba9

Browse files
committed
fix(Badge): 优化 value 传值类型
fix #1556
1 parent 4537ee3 commit 52c6ba9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/badge/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Component({
1515
options: ['horn', 'circle']
1616
},
1717
value: {
18-
type: String,
18+
type: [String, null],
1919
value: '0'
2020
},
2121
mode: {

0 commit comments

Comments
 (0)