Browse Source

Merge pull request #263316 in DEC/fineui from release/11.0 to feature/x

* commit '2bbbdcc149e12fbf6d9693d470b96e397773079d':
  BI-143696 fix: 对象.**容错
master
superman 10 months ago
parent
commit
b563f9cb5b
  1. 2
      packages/fineui/src/fix/fix.js

2
packages/fineui/src/fix/fix.js

@ -929,7 +929,7 @@ function watch(model, expOrFn, cb, options) {
return m;
} : parsePath(exp);
const v = getter.call(model, model);
if (v.__ob__) {
if (v && v.__ob__) {
const dep = new Dep();
if (isGlobal) {
(v.__ob__._scopeDeps || (v.__ob__._scopeDeps = [])).push(dep);

Loading…
Cancel
Save