微信小程序标签内容的显示与隐藏

微信小程序中标签如果想隐藏该怎么办?

wxml中:

<input hidden="{{hidden}}" value="{{item.id}}"/>
<view hidden="{{hidden}}">测试</view>

Js中:

data: {
	hidden: true,
},

猜你喜欢

转载自blog.csdn.net/qq_38882327/article/details/92760601