有关在自定义组件中添加 input 标签
<label class="{{(value !== '' || focus) ? 'narrow' : '' }}" > {{ label }}
<input type="text" value="{{ value }}" name="{{ name }}" bindinput="onInput" bindfocus="bindFocus" bindblur="bindBlur"
</view> |
在自定义组件中添加 input 标签无法使用自带 form 方法获取该 input 组件的值
求解
