<button @click="take_2" type="primary" disabled="false">{{lin}}</button>
<button @touchstart="take_2" type="primary" disabled="false">{{lin}}</button>
@click中disable无论true还是false都是不能用
@touchstart中无论true还是false都可以用
是什么情况
<button @click="take_2" type="primary" disabled="false">{{lin}}</button>
<button @touchstart="take_2" type="primary" disabled="false">{{lin}}</button>
@click中disable无论true还是false都是不能用
@touchstart中无论true还是false都可以用
是什么情况
1 个回复
DCloud_UNI_Anne
disabled前需要加冒号