This commit is contained in:
陆柯 2022-06-05 22:06:30 +08:00
parent a325868e08
commit 13b1e12a67
2 changed files with 4 additions and 4 deletions

View File

@ -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"
}, },

View File

@ -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
} }