//表单element-ui
// 表单
<el-form label-width="120px" :model="form" :rules="rules" ref="form">
<el-form-item prop="rulesprop" label="部门名称">
// 文本框
<el-input placeholder="1-50个字符" />
<el-input type="textarea" placeholder="1-300个字符" />
// 下拉框
<el-select v-model="form.xxx">
<el-option v-for="item in list" :key="item.id" :label="item.name" :value="item.id" />
// 插槽布局按钮
template #footer+div+el-button
// 按钮
<el-button>取消</el-button>
<el-button type="primary">确定</el-button>
标签:布局,新增,表单,框内,按钮,下拉框
From: https://www.cnblogs.com/strundent/p/16891044.html