当我在百里香中比较两个变量时,它将引发运行时异常
org.attoparser.ParseException: Attribute name cannot be null or empty
我正在与这句话作比较regularPrice != salePrice
。
<div th: if="${batch.regularPrice} < ${batch.salePrice}">
<del class="dis-price"><i class="fa fa-rupee"></i>
<span th:text="${#numbers.formatDecimal(batch.regularPrice, 0, 'COMMA', 0, 'POINT')}"></span>
</del>
</div>
我正在比较此语句RegularPrice!= salePrice。
更换
<div th: if="${batch.regularPrice} < ${batch.salePrice}">
与
<div th:if="${batch.regularPrice != batch.salePrice}">
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句