Select: revert #10105 (#11837)

pull/11847/head
杨奕 2018-07-03 15:03:50 +08:00 committed by GitHub
parent 92822706e5
commit ef74ee05b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 7 deletions

View File

@ -224,10 +224,6 @@
} else {
prop.o[prop.k] = this.initialValue;
}
/* Select
这里需要强行触发一次刷新 validateDisabled 的值
确保 Select 下一次值改变时能正确触发校验 */
this.broadcast('ElSelect', 'fieldReset');
this.broadcast('ElTimeSelect', 'fieldReset', this.initialValue);
},

View File

@ -851,9 +851,6 @@
this.$on('handleOptionClick', this.handleOptionSelect);
this.$on('setSelected', this.setSelected);
this.$on('fieldReset', () => {
this.dispatch('ElFormItem', 'el.form.change');
});
},
mounted() {