|
@@ -76,9 +76,9 @@ ElementUI.Dialog.props.closeOnClickModal.default = false;
|
|
|
// (ElementUI.Input)
|
|
|
// 全局修改选择如果value与label都为数字0则清空
|
|
|
const SelectValueWatch = ElementUI.Select.watch.value
|
|
|
-console.log(ElementUI.Select)
|
|
|
+// console.log(ElementUI.Select)
|
|
|
ElementUI.Select.watch.value = function (newValue, oldValue) {
|
|
|
-console.log(this)
|
|
|
+// console.log(this)
|
|
|
SelectValueWatch.call(this, newValue, oldValue)
|
|
|
if (this.selected && this.selected.value === 0 && this.selected.currentLabel === 0 && newValue !== oldValue) {
|
|
|
this.handleClearClick.call(this, {
|