From 20371b97fdd8a7cdeb81d91df290864cc82201c1 Mon Sep 17 00:00:00 2001 From: fxy060608 Date: Sun, 26 Apr 2020 15:54:31 +0800 Subject: [PATCH] feat(qa-light): mock _componentId --- src/platforms/mp-baidu/runtime/wrapper/util.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/platforms/mp-baidu/runtime/wrapper/util.js b/src/platforms/mp-baidu/runtime/wrapper/util.js index b96b87a50..22b64a522 100644 --- a/src/platforms/mp-baidu/runtime/wrapper/util.js +++ b/src/platforms/mp-baidu/runtime/wrapper/util.js @@ -1,4 +1,4 @@ -export const mocks = ['nodeId', 'componentName'] +export const mocks = ['nodeId', 'componentName', '_componentId'] export function isPage () { return !this.ownerId @@ -6,4 +6,4 @@ export function isPage () { export function initRelation (detail) { this.dispatch('__l', detail) -} +} -- GitLab