<a-form :model="rightData" labelAlign="left"> <a-form-item label="标识名"> <a-input v-model:value="rightData.name" :placeholder="input" /> </a-form-item> </a-form>
CSS:
.ant-form-item{ display: block; }
达到效果:
标签:form,换行,表单,ant,design,label From: https://www.cnblogs.com/alannero/p/17307123.html