<el-col :span="12">
<el-form-item label="进度" prop="schedule"
:rules="[
{required: true, message:'进度不能为空', trigger:'blur'},
{validator: validator.isFloatGteZero, trigger:'blur'}
]">
<el-input v-model="inputForm.schedule" placeholder="请填写进度" min="0" max="100">
<template slot="append">%</template>
</el-input>
</el-form-item>
</el-col>
在input框中,添加 <template slot="append">%</template>