Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cdn引入van-tabs引入异常 #10878

Closed
zhanghan-cdns opened this issue Aug 3, 2022 · 2 comments
Closed

cdn引入van-tabs引入异常 #10878

zhanghan-cdns opened this issue Aug 3, 2022 · 2 comments
Labels

Comments

@zhanghan-cdns
Copy link

zhanghan-cdns commented Aug 3, 2022

重现链接

https://codesandbox.io/s/distracted-wu-bt8ygf?file=/index.html

Vant 版本

3.5.3

描述一下你遇到的问题。

van-tabs组件引入无效 会报错Uncaught ReferenceError: process is not defined

重现步骤

正常cdn的方式引入

设备/浏览器

谷歌

@zhanghan-cdns zhanghan-cdns changed the title van-tabs引入无效 cdn引入van-tabs引入无效 Aug 3, 2022
@zhanghan-cdns zhanghan-cdns changed the title cdn引入van-tabs引入无效 cdn引入van-tabs引入异常 Aug 3, 2022
@chenjiahan
Copy link
Member

应该是升级 vite 3 导致的问题,可以先锁定 CDN 使用的版本到 3.5.2

https://fastly.jsdelivr.net/npm/vant@3.5.2/lib/vant.min.js

我们尽快修复下

@chenjiahan
Copy link
Member

已在 3.5.4 版本修复

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants