mirror of
https://gitee.com/bootx/dax-pay-ui.git
synced 2025-09-09 05:29:32 +00:00
fix: type check failed for prop 'onClick' (#3038)
This commit is contained in:
@@ -22,5 +22,5 @@ export const buttonProps = {
|
||||
* @default: 14
|
||||
*/
|
||||
iconSize: { type: Number, default: 14 },
|
||||
onClick: { type: Function as PropType<(...args) => any>, default: null },
|
||||
onClick: { type: [Function, Array] as PropType<(() => any) | (() => any)[]>, default: null },
|
||||
};
|
||||
|
Reference in New Issue
Block a user