Browse Source

支持自动watch

es6
guy 3 years ago
parent
commit
d6c6147187
  1. 6
      src/core/4.widget.js

6
src/core/4.widget.js

@ -171,9 +171,9 @@
this.element.addClass(o.cls);
}
}
if (o.key != null) {
this.element.attr("key", o.key);
}
// if (o.key != null) {
// this.element.attr("key", o.key);
// }
if (o.attributes) {
this.element.attr(o.attributes);
}

Loading…
Cancel
Save