优化单据的宽度屏幕自适应

This commit is contained in:
季圣华
2022-06-08 00:11:18 +08:00
parent ab715fa84f
commit d791191adb
11 changed files with 22 additions and 21 deletions

View File

@@ -818,11 +818,6 @@
type: Boolean,
default: false
},
// 页面是否在加载中
minWidth: {
type: Number,
default: 1550
},
maxHeight: {
type: Number,
default: 400
@@ -919,6 +914,7 @@
statisticsColumns: {},
// 只有在行编辑被销毁时才主动清空GroupRequest的内存
destroyCleanGroupRequest: false,
minWidth: 1500,
}
},
created() {
@@ -926,6 +922,8 @@
// 当前显示的tr
this.visibleTrEls = []
this.disabledRowIds = (this.disabledRowIds || [])
let realScreenWidth = window.screen.width * window.devicePixelRatio
this.minWidth = realScreenWidth<1500?1250:1500
},
// 计算属性
computed: {