This commit is contained in:
陆柯 2022-08-11 16:42:29 +08:00
parent 506dabb27f
commit e2822974bf

View File

@ -455,7 +455,7 @@ export default {
if (tool !== 'uni') {
// 来自 <ucToast> 或 <u-toast> 或 <u-top-tips>
const toast = this.thisPage()?.$refs?.toast || getApp().globalData.toast || wo.toast
const pupup = this.thisPage()?.$refs?.popup || getApp().globalData.popup || wo.popup
const popup = this.thisPage()?.$refs?.popup || getApp().globalData.popup || wo.popup
if (toast) {
toast.show({ type, title, duration, ...rest })
return