整体运行这段代码报错Bad attr `wx
<view class="data">比动能:{{bdndata}} J/cm²</view>
<view class="warning" wx:if="{{bdndata<0.16}}">善良是一种美德</view>
<view class="warning" wx:elif="{{bdndata>0.16&&<1.8}}">这很合理</view>
<view class="warning" wx:else>我擦我不好说</view>
单独运行首句正常
<view class="data">比动能:{{bdndata}} J/cm²</view>
<view class="warning" wx:if="{{bdndata<0.16}}">善良是一种美德</view>
wx:elif条件写错了,应该是{{bdndata>0.16&&bdndata<1.8}}