We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
如何复现: 如下问题代码,导致代码自动格式化失败。并抛出如上错误
步骤1:
步骤2: 这样写法就可以正常工作。 <view class="location-icon">{{a ? '1' : '0'}}</view>
<view class="location-icon">{{a ? '1' : '0'}}</view>
...
期望的表现:
实际的表现:
插件运行环境
插件版本
VSCode版本
操作系统(非必须)
The text was updated successfully, but these errors were encountered:
遇到了同样问题,然后试着把模板中的三元去掉就好了。还是不建议在模板中写判断了。
Sorry, something went wrong.
iChenLei
No branches or pull requests
如何复现:
如下问题代码,导致代码自动格式化失败。并抛出如上错误
步骤1:
步骤2:
这样写法就可以正常工作。
<view class="location-icon">{{a ? '1' : '0'}}</view>
...
期望的表现:
实际的表现:
插件运行环境
插件版本
: 2.4.8VSCode版本
: 1.70.1操作系统(非必须)
: MacOS Catalina 10.15.5The text was updated successfully, but these errors were encountered: