diff --git a/unitool.js b/unitool.js index f270256..dc7cc5a 100644 --- a/unitool.js +++ b/unitool.js @@ -455,7 +455,7 @@ export default { if (tool !== 'uni') { // 来自 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