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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vxe-table",
3
- "version": "3.5.9-beta.1",
3
+ "version": "3.5.9-beta.2",
4
4
  "description": "一个基于 vue 的 PC 端表格组件,支持增删改查、虚拟列表、虚拟树、懒加载、快捷菜单、数据校验、树形结构、打印导出、表单渲染、数据分页、弹窗、自定义模板、渲染器、贼灵活的配置项、扩展接口等...",
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -173,7 +173,7 @@ export default {
173
173
  tZindex: 0,
174
174
  tablePage: {
175
175
  total: 0,
176
- pageSize: 10,
176
+ pageSize: GlobalConfig.pager.pageSize || 10,
177
177
  currentPage: 1
178
178
  }
179
179
  }
@@ -68,7 +68,7 @@ export default {
68
68
  modalTop: 0,
69
69
  modalZindex: 0,
70
70
  zoomLocat: null,
71
- firstOpen: false
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 || !firstOpen) {
349
+ if (!remember || firstOpen) {
350
350
  this.updatePosition().then(() => {
351
351
  setTimeout(() => this.updatePosition(), 20)
352
352
  })
353
353
  }
354
- if (!firstOpen) {
355
- this.firstOpen = true
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
  }
package/styles/form.scss CHANGED
@@ -177,6 +177,7 @@
177
177
  .vxe-form--item-content {
178
178
  position: relative;
179
179
  flex-grow: 1;
180
+ word-break: break-all;
180
181
  }
181
182
  }
182
183
  .vxe-default-input,