Browse Source

KERNEL-13928 refactor: 修改解构赋值错误的地方

es6
impact 2 years ago
parent
commit
7f5eeb430c
  1. 4
      src/base/single/0.single.js

4
src/base/single/0.single.js

@ -68,8 +68,8 @@ export default class Single extends Widget {
}
_init() {
let { value } = this.options;
value = BI.isFunction(value) ? this.__watch(value, (context, newValue) => {
const { value } = this.options;
this.options.value = BI.isFunction(value) ? this.__watch(value, (context, newValue) => {
this.setValue(newValue);
}) : value;
super._init(arguments);

Loading…
Cancel
Save