Поправлен небольшой баг отображения окна

This commit is contained in:
Book Pauk
2020-11-03 14:42:02 +07:00
parent 7f36d55320
commit 7e4c938dfd

View File

@@ -32,6 +32,9 @@ export default @Component({
class Window extends Vue { class Window extends Vue {
init() { init() {
this.$nextTick(() => { this.$nextTick(() => {
this.$refs.main.style.top = 0;
this.$refs.main.style.left = 0;
this.$refs.windowBox.style.height = this.height; this.$refs.windowBox.style.height = this.height;
this.$refs.windowBox.style.width = this.width; this.$refs.windowBox.style.width = this.width;
if (this.maxWidth) if (this.maxWidth)
@@ -124,7 +127,6 @@ class Window extends Vue {
.main { .main {
background-color: transparent !important; background-color: transparent !important;
z-index: 50; z-index: 50;
overflow: hidden;
} }
.xyfit { .xyfit {