fixed event emiter
This commit is contained in:
parent
e373e603bf
commit
fe2c74c8c8
|
@ -16,7 +16,7 @@ export default class Controller extends Component {
|
|||
|
||||
this._field = value;
|
||||
|
||||
if (this._checkValue !== undefined && this._checkValue !== null)
|
||||
if (typeof this._checkValue === 'boolean')
|
||||
this.emit('change', {value: this.field});
|
||||
|
||||
this._checkValue = value;
|
||||
|
|
Loading…
Reference in New Issue