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

Commit 91bb7ca

Browse files
committed
fix(AtFab): 修复AtFab props 类型
1 parent 460d002 commit 91bb7ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/fab/index.jsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ export default {
99
validator: (val) => ['normal', 'small'].includes(val),
1010
},
1111
className: {
12-
type: String,
12+
type: [Object, String],
1313
default: '',
1414
},
1515
handleClick: {
1616
type: Function,
17-
default: () => {},
17+
default: () => () => {},
1818
},
1919
},
2020
methods: {

0 commit comments

Comments
 (0)