form组件不支持弹性布局吗?
我的代码结构是这样的:
< form bindsubmit = "publish" report-submit class = 'form' > < textarea placeholder = '我来说几句' auto-height fixed class = 'form__textarea' ></ textarea > < button formType = "submit" class = 'form__btn' >发表</ button > </ form > |
然后form组件用了display:flex,本以为会很顺利,可结果却是这样的:
我就想知道,form组件到底支不支持弹性布局?