1 <el-form-item label="工步名称"> 2 <el-input v-model.trim="WorkStepForm.WorkStepName" @input="ChangeInput($event)" :disabled="dialogType == 'view'" :placeholder="$t('ProcessManagement.StandardFormula.Ctl.InputText')"></el-input> <span style="color:red">*</span> 3 </el-form-item>
ChangeInput(e) { this.$forceUpdate() }
此法已解决当前问题