[ WXML 文件编译错误] ./pages/submitorder/index.wxml
Bad attr `autosize` with message
85 | <view>
86 | <van-cell-group>
> 87 | <van-field autoFocus="{{true}}" autosize="{{maxHeight:200,minHeight:200,}}"bind:change="onChange" border="{{false}}" data-name="remark" inputAlign="left" inputClass="beizhuinput" label="" placeholder="请输入留言" type="textarea" value="{{form.remark}}"></van-field>
| ^
88 | </van-cell-group>
89 | <view class="flex flex-row justify-center">
90 | <button bindtap="sheetbeizhu" class="button2" type="primary">完成</button>
at files://pages/submitorder/index.wxml#87
你这个autosize属性是textarea才支持的
" 这个去除页面这些图片都不显示了
if (autosize && autosize.constructor === 'Object') {
return (style(({
'min-height': addUnit(autosize.minHeight),
'max-height': addUnit(autosize.maxHeight),
})))
};
return ('')
};