u
This commit is contained in:
parent
506dabb27f
commit
e2822974bf
@ -455,7 +455,7 @@ export default {
|
|||||||
if (tool !== 'uni') {
|
if (tool !== 'uni') {
|
||||||
// 来自 <ucToast> 或 <u-toast> 或 <u-top-tips>
|
// 来自 <ucToast> 或 <u-toast> 或 <u-top-tips>
|
||||||
const toast = this.thisPage()?.$refs?.toast || getApp().globalData.toast || wo.toast
|
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) {
|
if (toast) {
|
||||||
toast.show({ type, title, duration, ...rest })
|
toast.show({ type, title, duration, ...rest })
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user