From 2d1e16fb36dfa862eea558c28fa4953704051ecb Mon Sep 17 00:00:00 2001 From: jimmychai Date: Tue, 20 Feb 2024 10:36:28 +0800 Subject: [PATCH] =?UTF-8?q?BI-143696=20fix:=20=E5=AF=B9=E8=B1=A1.**?= =?UTF-8?q?=E5=AE=B9=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/fineui/src/fix/fix.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/fineui/src/fix/fix.js b/packages/fineui/src/fix/fix.js index c2f0ddd12..48e7eb0e6 100644 --- a/packages/fineui/src/fix/fix.js +++ b/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);