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
vue3 在 v-if 中使用 wxs 报错 #3199
Comments
遇到同样问题 |
已修复,cli更新至:3.0.0-alpha-3030820220114003 |
@fxy060608 |
具体是什么样子的业务需求,需要在 if 里边访问 wxs 中的内容呢?是否有其他方案可以先绕过去 |
他需求应该是这个,我正好有在vue3.0用他的库适配的时候也是遇到一样问题 |
不方便改的话我试试其他方案吧 |
可以用computed先代替吧? |
之前wxs不行的时候我是先用computed代替了 |
建议可以先绕一下,app端修复这个问题会麻烦一些,时间上不一定保证 |
@fxy060608 3.0.0-alpha-3031020220124001 这个版本wxs异常问题又出现了 |
锁死版本不使用^升级 |
好的 |
问题描述
vue3
在v-if
中使用wxs
报错,vue2
正常复现步骤
vue
版本选择3
,运行到微信小程序预期结果
正常运行
实际结果
报错
ReferenceError: test is not defined
系统信息:
3.3.8
The text was updated successfully, but these errors were encountered: