Browse Source

Pull request #263232: BI-143696 fix: 对象.**容错

Merge in DEC/fineui from ~JIMMY.CHAI/dec-fineui:final/11.0 to final/11.0

* commit '2d1e16fb36dfa862eea558c28fa4953704051ecb':
  BI-143696 fix: 对象.**容错
research/test
Jimmy.Chai-柴嘉明 10 months ago
parent
commit
33ab87e536
  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