u
This commit is contained in:
parent
a325868e08
commit
13b1e12a67
@ -2,7 +2,7 @@
|
|||||||
"name": "usend-toolkit-uniapp",
|
"name": "usend-toolkit-uniapp",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"description": "uniapp people side tools",
|
"description": "uniapp people side tools",
|
||||||
"main": "usertool.js",
|
"main": "unitool.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "echo \"Error: no test specified\" && exit 1"
|
"test": "echo \"Error: no test specified\" && exit 1"
|
||||||
},
|
},
|
||||||
|
@ -451,9 +451,9 @@ export default {
|
|||||||
toast.show({ type, title, duration, ...rest })
|
toast.show({ type, title, duration, ...rest })
|
||||||
return
|
return
|
||||||
} else if (popup) {
|
} else if (popup) {
|
||||||
wo.ss.toastType = type
|
wo.ss.popMessage = title
|
||||||
wo.ss.toastMessage = title
|
wo.ss.popType = type || 'success'
|
||||||
wo.ss.toastDuration = duration
|
wo.ss.popDuration = duration || 2000
|
||||||
popup.open()
|
popup.open()
|
||||||
return
|
return
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user