From a265766e73ffe7735975a5425887cd10e04cd0e1 Mon Sep 17 00:00:00 2001 From: weishuodan Date: Thu, 4 Jan 2024 21:01:58 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=BC=B9=E7=AA=97icon=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/dialog/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/dialog/index.js b/components/dialog/index.js index aa530151..f0769bcb 100644 --- a/components/dialog/index.js +++ b/components/dialog/index.js @@ -174,6 +174,7 @@ Dialog.alert = ({ */ Dialog.succeed = props => { props.icon = 'success-color' + props.iconSvg = true return Dialog.confirm(props) } @@ -185,6 +186,7 @@ Dialog.succeed = props => { */ Dialog.failed = props => { props.icon = 'warn-color' + props.iconSvg = true return Dialog.confirm(props) }