15881625488@163.com 2 months ago
parent
commit
fec0176685
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/components/Template/HandleFormItem.vue

+ 2
- 2
src/components/Template/HandleFormItem.vue View File

@ -16,7 +16,7 @@
<el-select v-else-if="type === 'select'" class="flex1" :multiple="item.multiple" <el-select v-else-if="type === 'select'" class="flex1" :multiple="item.multiple"
:class="getFillTypeStyle() + (orangeBg ? ' orange-bg' : '')" v-model="inputValue" :class="getFillTypeStyle() + (orangeBg ? ' orange-bg' : '')" v-model="inputValue"
:disabled="getDisabled()" :placeholder="getPlaceholder()" @remove-tag="onRemoveTag" :disabled="getDisabled()" :placeholder="getPlaceholder()" @remove-tag="onRemoveTag"
@visible-change="onSelectBlur" >
@visible-change="onSelectBlur" @change="onInputChange">
<el-option v-for="op in item.options" :key="op.value" :label="op.label" :value="op.value"> <el-option v-for="op in item.options" :key="op.value" :label="op.label" :value="op.value">
</el-option> </el-option>
</el-select> </el-select>
@ -437,7 +437,7 @@ export default {
this.oldValue = this.inputValue; // this.oldValue = this.inputValue; //
this.$emit("blur", this.inputValue); this.$emit("blur", this.inputValue);
this.$emit('input', this.inputValue); this.$emit('input', this.inputValue);
this.$emit("change", this.inputValue);
this.$emit("change", this.inputValue,data?"save":"");
if(!this.isFieldsRecord){// if(!this.isFieldsRecord){//
return; return;
} }

Loading…
Cancel
Save