From 5047f89b89edd95802ccb81ea8ddfccaac2e8b20 Mon Sep 17 00:00:00 2001 From: chenjiajian <798095202@qq.com> Date: Thu, 17 Dec 2020 01:51:54 +0800 Subject: [PATCH 1/2] =?UTF-8?q?fix(shared):=20=E5=B5=8C=E5=A5=97=E5=88=B0?= =?UTF-8?q?=E7=AC=AC15=E5=B1=82=E7=A2=B0=E5=88=B0=20Text=20=E5=AF=BC?= =?UTF-8?q?=E8=87=B4=E5=AD=90=E6=96=87=E6=9C=AC=E8=8A=82=E7=82=B9=E4=B8=A2?= =?UTF-8?q?=E5=A4=B1=EF=BC=8Cfix=20#6054?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/shared/src/template.ts | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/packages/shared/src/template.ts b/packages/shared/src/template.ts index 03b2e20c8db3..942900941ee8 100644 --- a/packages/shared/src/template.ts +++ b/packages/shared/src/template.ts @@ -308,11 +308,12 @@ export class BaseTemplate { protected buildContainerTemplate (level: number, restart = false) { let tmpl = '' if (restart) { - if (!this.isSupportRecursive && this.supportXS) { - tmpl = '' - } else { - tmpl = '' - } + tmpl = ` +