-
Notifications
You must be signed in to change notification settings - Fork 927
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
uniapp vue3编译到微信小程序报错 #301
Comments
报错原因:
|
ts + vite编译环境 |
能拆个复现问题的小demo吗 |
最小的demo就是文档uniapp的demo代码直接复制下来,只是blocks添加上背景图片 |
嗯,那你打包成zip压缩文件发我试试 |
不知道如何上传压缩包,直接给下载地址吧 uniapp编译器:3.5.1 |
我好像上一年加过大佬的联系方式,忘记是qq还是微信了,方便透露一下qq的前五位数字吗,这么好的插件,应该有一个技术讨论区才对 |
好的,一会我运行看看 讨论区没啥用,没建 |
结果如何 |
我看到这个奇怪的报错了 |
我的微信: |
我也遇到了,请问解决了吗 |
别急, 刚洗完澡, 这就看 |
我知道问题出在哪了, 是设置 h5 端用的是原生的 Image 对象, 所以不受影响 但是很奇怪, 这是小程序提供的 api, 要么是微信出 bug 了, 要么是 uniapp 出 bug 了 明天我还得再试一下 |
哈喽。taro-vue3也会有这个问题,现在有解决方案吗? |
复现个小demo发给我, 要能跑起来的项目 (但是别把你司项目直接发给我, 太大了) |
您好,demo已经发附件给您了。问题描述:我是用taro3+vue3开发微信小程序的,用您官网发布的demo引入是没问题的,但是当奖品参数的时候添加图片就会报错-WAServiceMainContext.js?t=wechat&s=1662431010125&v=2.26.0:1 TypeError: Cannot read property 'nodeId' of undefined,希望您能看一下,给提供一个解决方案。谢谢!
??
***@***.***
…------------------ 原始邮件 ------------------
发件人: "buuing/lucky-canvas" ***@***.***>;
发送时间: 2022年9月6日(星期二) 上午10:07
***@***.***>;
***@***.******@***.***>;
主题: Re: [buuing/lucky-canvas] uniapp vue3编译到微信小程序报错 (Issue #301)
哈喽。taro-vue3也会有这个问题,现在有解决方案吗?
复现个小demo发给我, 要能跑起来的项目 (但是别把你司项目直接发给我, 太大了)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
请问有解决方案吗? |
使用的vant4编译小程序环境报错,编译h5没问题
|
看上去好像跟我没关系吧? 你这个报错说rollup加载"@vant/use"失败 |
但是编辑h5没问题 编译小程序就报错 |
uni-app vue3编译到小程序
编译到h5没问题,纯文字也没有问题,加上图片就报错了
The text was updated successfully, but these errors were encountered: