Skip to content

Commit

Permalink
fix(App): showToast 设置 icon 为 none 时,表现错误
Browse files Browse the repository at this point in the history
  • Loading branch information
StrivingRabbit committed Jun 24, 2021
1 parent 636e920 commit 7e774b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platforms/app-plus/service/api/ui/popup.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export function showToast ({
interval: duration
}
} else {
if (icon !== 'loading') {
if (['success', 'error'].indexOf(icon) !== -1) {
waitingOptions.loading = {
display: 'block',
height: '55px',
Expand Down

0 comments on commit 7e774b0

Please sign in to comment.