Поправлен небольшой баг отображения окна
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user