From fc33fbe630a23fe438e02f86cf56bce057dff269 Mon Sep 17 00:00:00 2001 From: chenjiajian <798095202@qq.com> Date: Tue, 18 Oct 2022 16:32:18 +0800 Subject: [PATCH] =?UTF-8?q?fix(runtime):=20=E4=BF=AE=E5=A4=8Dtmpl=5F0=5Fvi?= =?UTF-8?q?ew=20not=20found=20=E8=AD=A6=E5=91=8A=EF=BC=8Cfix=20#12558=20(#?= =?UTF-8?q?12662)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix(runtime): 修复tmpl_0_view not found 警告,fix #12558 #12558 * Update common.ts Co-authored-by: Zakary --- packages/taro-runtime/src/dsl/common.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/taro-runtime/src/dsl/common.ts b/packages/taro-runtime/src/dsl/common.ts index 76491fd7a287..cc4b175744fd 100644 --- a/packages/taro-runtime/src/dsl/common.ts +++ b/packages/taro-runtime/src/dsl/common.ts @@ -8,7 +8,7 @@ import { eventHandler } from '../dom/event' import { eventCenter } from '../emitter/emitter' import env from '../env' import { perf } from '../perf' -import { customWrapperCache, incrementId } from '../utils' +import { customWrapperCache, getComponentsAlias, incrementId } from '../utils' import type { PageConfig } from '@tarojs/taro' import type { TaroRootElement } from '../dom/root' @@ -322,7 +322,7 @@ export function createRecursiveComponentConfig (componentName?: string) { i: { type: Object, value: { - [Shortcuts.NodeName]: VIEW + [Shortcuts.NodeName]: getComponentsAlias()[VIEW]._num } }, l: {