fix: vision 大包 window 指向问题

This commit is contained in:
mario.gk 2020-08-12 10:13:13 +08:00
parent 9a12eb2a61
commit aa1b526f31
2 changed files with 2 additions and 2 deletions

View File

@ -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()) {

View File

@ -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);