-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
questionFurther information is requestedFurther information is requested
Description
To reproduce:
<view wx:if="{{showGoods}}" wx:for="{{goodsList}}" >{{item.name}}</view>
<block wx:else>
<view wx:for="{{userList}}" >{{item.username}}</view>
</block>workaround for this case:
<block wx:if="{{showGoods}}">
<view wx:for="{{goodsList}}" >{{item.name}}</view>
</block>
<block wx:else>
<view wx:for="{{userList}}" >{{item.username}}</view>
</block>Current behavior:
No eslint problem hint, but get wechat miniprogram compile error
Bad attr `wx:else` with message: `wx:if not found, then something must be wrong`Expected behavior:
lint this error
Environment information:
eslintversion: v7nodejsversion: v14eslint-plugin-wxmlversion: 0.5.0
- your IDE/editor: VSCode
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested