Browse Source

支持BI.useContext

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

1
src/core/4.widget.js

@ -774,7 +774,6 @@
BI.watch = function (vm, watch, handler) { BI.watch = function (vm, watch, handler) {
if (BI.Widget.current) { if (BI.Widget.current) {
options = options || {};
if (vm instanceof BI.Model) { if (vm instanceof BI.Model) {
BI.Widget.current._watchers || (BI.Widget.current._watchers = []); BI.Widget.current._watchers || (BI.Widget.current._watchers = []);
if (BI.isKey(watch)) { if (BI.isKey(watch)) {

Loading…
Cancel
Save