需求:
HTML:
<el-form-item label="采购总量:">
<el-input placeholder="请输入采购总量" v-model="input2">
<template slot="append">
袋
</template>
</el-input>
</el-form-item>
CSS:
::v-deep.el-input-group--append {
.el-input__inner {
border-right: none !important;
}
.el-input-group__append {
background: transparent;
}
}