File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
packages/uni-mp-alipay/src/api Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change 1
- import { hasOwn , isArray , isPlainObject } from '@vue/shared'
1
+ import { extend , hasOwn , isArray , isPlainObject } from '@vue/shared'
2
2
3
3
import {
4
4
navigateTo as _navigateTo ,
@@ -200,9 +200,6 @@ export function showModal({ showCancel = true }: UniApp.ShowModalOptions = {}) {
200
200
export function showToast ( { icon = 'success' } : UniApp . ShowToastOptions = { } ) {
201
201
const args = {
202
202
title : 'content' ,
203
- icon : 'type' ,
204
- image : false ,
205
- mask : false ,
206
203
}
207
204
if ( icon === 'loading' ) {
208
205
return {
@@ -212,7 +209,7 @@ export function showToast({ icon = 'success' }: UniApp.ShowToastOptions = {}) {
212
209
}
213
210
return {
214
211
name : 'showToast' ,
215
- args,
212
+ args : extend ( { icon : 'type' } , args ) ,
216
213
}
217
214
}
218
215
export const showActionSheet = {
You can’t perform that action at this time.
0 commit comments