vue3+element-plus
输入框后拼接文字
<el-form-item :label="t('location.locationLength')" prop="locationLength">
<el-input v-model="form.locationLength" :placeholder="t('location.inputLocationLengthTip')">
<template v-slot:append>米</template>
</el-input>
</el-form-item>