代码如下:
<el-form-item>
<el-input v-model="formData.number" placeholder="请输入账号" clearable>
<el-select v-model="formData.type" slot="prepend" placeholder="请选择类型">
<el-option label="微信" value="1"></el-option>
<el-option label="支付宝" value="2"></el-option>
<el-option label="银行卡" value="3"></el-option>
</el-select>
</el-input>
</el-form-item>
//formData是入参对象,type是下拉框入参,number是账号输入框入参