Skip to content

Commit

Permalink
fix: 修复类型问题
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyh2001 committed Nov 21, 2023
1 parent 50cf79d commit ebbe4fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/fighting-design/alert/src/props.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export const Props = {
/** 自定义之前的 icon */
beforeIcon: setObjectProp<FightingIcon>(),
/** 滚动列表 */
alertList: setArrayProp<string[]>(),
alertList: setArrayProp<string[]>([]),
/** 滚动列表动画间隔 */
duration: setNumberProp(),
/** 点击关闭之后执行的回调 */
Expand Down

0 comments on commit ebbe4fc

Please sign in to comment.