Browse Source

Merge pull request #263866 in DEC/fineui from final/11.0 to persist/11.0

* commit '33ab87e53621200976175561a956752c6aa0b35e':
  BI-143696 fix: 对象.**容错
research/test
superman 9 months ago
parent
commit
b57d587405
  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; return m;
} : parsePath(exp); } : parsePath(exp);
const v = getter.call(model, model); const v = getter.call(model, model);
if (v.__ob__) { if (v && v.__ob__) {
const dep = new Dep(); const dep = new Dep();
if (isGlobal) { if (isGlobal) {
(v.__ob__._scopeDeps || (v.__ob__._scopeDeps = [])).push(dep); (v.__ob__._scopeDeps || (v.__ob__._scopeDeps = [])).push(dep);

Loading…
Cancel
Save