wx:else="{{view == 'MINA'}}"

小程序 文章 2021-12-14 15:40 12 0 全屏看文

wx:else="{{view == 'MINA'}}"wx:else="{{view == 'MINA'}}"

wx:else="{{view == 'MINA'}}"

wx:else="{{view == 'MINA'}}"

已经是 else 了为啥还需要判断条件,这和 elif 有啥区别?

Wx: else = "{view = ='mina '}}" is already an else. Why do you need to judge the conditions? What's the difference between this and elif?

回答:

臭臭:

https://developers.weixin.qq.com/miniprogram/deveference/wxml/conditional.html

else 不需要条件的呀,你这个是哪里看到的


Strive:

-EOF-