[youzan/vant-weapp]Dialog then 里面进行页面的跳转不生效

2024-08-20 776 views
0
重现链接

Dialog.alert({ title: 'xxxx', message: 'xxxxxx', }).then(() => { wx.navigateTo({ url: '/pages/index/index', }); }); }

Vant Weapp 版本

v1.10.11

描述一下你遇到的问题。

then里面的页面跳转不生效

重现步骤

弹窗点击确认,进入then方法,但是页面并没有跳转

设备/浏览器

No response

回答

0

是我写的有问题,分包的路径写错了

4

是我写的有问题,分包的路径写错了