From aa1b526f31064594760b67edf7f85597d83bcbd8 Mon Sep 17 00:00:00 2001 From: "mario.gk" Date: Wed, 12 Aug 2020 10:13:13 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20vision=20=E5=A4=A7=E5=8C=85=20window=20?= =?UTF-8?q?=E6=8C=87=E5=90=91=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/editor-preset-vision/src/bundle/bundle.ts | 2 +- packages/editor-skeleton/src/layouts/workbench.less | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/editor-preset-vision/src/bundle/bundle.ts b/packages/editor-preset-vision/src/bundle/bundle.ts index c913b7e84..3331ca2f9 100644 --- a/packages/editor-preset-vision/src/bundle/bundle.ts +++ b/packages/editor-preset-vision/src/bundle/bundle.ts @@ -148,7 +148,7 @@ export default class Bundle { } if (isPrototype(proto)) { const componentName = proto.getComponentName()!; - if (!proto.getView() && this.viewsMap[componentName]) { + if (this.viewsMap[componentName]) { proto.setView(this.viewsMap[componentName]); } if (cp.name && !proto.getPackageName()) { diff --git a/packages/editor-skeleton/src/layouts/workbench.less b/packages/editor-skeleton/src/layouts/workbench.less index a5ea65a77..792697757 100644 --- a/packages/editor-skeleton/src/layouts/workbench.less +++ b/packages/editor-skeleton/src/layouts/workbench.less @@ -239,7 +239,7 @@ body { top: 0; bottom: 0; width: var(--dock-pane-width); - min-width: var(--dock-fixed-pane-width); + // min-width: var(--dock-fixed-pane-width); left: calc(var(--left-area-width) + 1px); background-color: var(--color-pane-background); box-shadow: 4px 6px 6px 0 rgba(31,50,88,0.08);