vxe-table 3.5.9-beta.1 → 3.5.9-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/form/style/style.css +2 -1
- package/lib/form/style/style.min.css +1 -1
- package/lib/grid/src/grid.js +1 -1
- package/lib/grid/src/grid.min.js +1 -1
- package/lib/index.css +1 -1
- package/lib/index.umd.js +13 -7
- package/lib/index.umd.min.js +1 -1
- package/lib/modal/src/modal.js +10 -4
- package/lib/modal/src/modal.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/package.json +1 -1
- package/packages/grid/src/grid.js +1 -1
- package/packages/modal/src/modal.js +8 -4
- package/styles/form.scss +1 -0
package/package.json
CHANGED
|
@@ -68,7 +68,7 @@ export default {
|
|
|
68
68
|
modalTop: 0,
|
|
69
69
|
modalZindex: 0,
|
|
70
70
|
zoomLocat: null,
|
|
71
|
-
firstOpen:
|
|
71
|
+
firstOpen: true
|
|
72
72
|
}
|
|
73
73
|
},
|
|
74
74
|
computed: {
|
|
@@ -346,18 +346,22 @@ export default {
|
|
|
346
346
|
} else {
|
|
347
347
|
this.$nextTick(() => {
|
|
348
348
|
const { firstOpen, fullscreen } = this
|
|
349
|
-
if (!remember ||
|
|
349
|
+
if (!remember || firstOpen) {
|
|
350
350
|
this.updatePosition().then(() => {
|
|
351
351
|
setTimeout(() => this.updatePosition(), 20)
|
|
352
352
|
})
|
|
353
353
|
}
|
|
354
|
-
if (
|
|
355
|
-
this.firstOpen =
|
|
354
|
+
if (firstOpen) {
|
|
355
|
+
this.firstOpen = false
|
|
356
356
|
if (this.hasPosStorage()) {
|
|
357
357
|
this.restorePosStorage()
|
|
358
358
|
} else if (fullscreen) {
|
|
359
359
|
this.$nextTick(() => this.maximize())
|
|
360
360
|
}
|
|
361
|
+
} else {
|
|
362
|
+
if (fullscreen) {
|
|
363
|
+
this.$nextTick(() => this.maximize())
|
|
364
|
+
}
|
|
361
365
|
}
|
|
362
366
|
})
|
|
363
367
|
}
|