Skip to content

Commit

Permalink
Merge pull request #847 from wsd000/feat_icon_optimized
Browse files Browse the repository at this point in the history
feat: 弹窗icon优化
  • Loading branch information
qifeng0748 authored Jan 4, 2024
2 parents 94c7eff + a265766 commit 398d508
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions components/dialog/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ Dialog.alert = ({
*/
Dialog.succeed = props => {
props.icon = 'success-color'
props.iconSvg = true
return Dialog.confirm(props)
}

Expand All @@ -185,6 +186,7 @@ Dialog.succeed = props => {
*/
Dialog.failed = props => {
props.icon = 'warn-color'
props.iconSvg = true
return Dialog.confirm(props)
}

Expand Down

0 comments on commit 398d508

Please sign in to comment.