From 1584d9a85d9ba64c168f36b0bf0957fd90350a23 Mon Sep 17 00:00:00 2001 From: Gcaufy Date: Tue, 30 Jul 2019 15:00:46 +0800 Subject: [PATCH] fix(core): fixed observerPath typo --- packages/core/weapp/observer/observerPath.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/weapp/observer/observerPath.js b/packages/core/weapp/observer/observerPath.js index 26fd6e040..6a9019ff7 100644 --- a/packages/core/weapp/observer/observerPath.js +++ b/packages/core/weapp/observer/observerPath.js @@ -54,7 +54,7 @@ export default class ObserverPath { for (let i = 0; i < keys.length; i++) { const key = keys[i]; if (isObject(value[key]) && hasOwn(value[key], '__ob__')) { - value[key].__ob__.op.traverseUpdatePath(key, value[key], value.observer.vm); + value[key].__ob__.op.traverseUpdatePath(key, value[key], value.__ob__.vm); } }