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

This commit is contained in:
季圣华
2022-06-08 01:15:50 +08:00
parent d791191adb
commit 1aa3d94bb7
16 changed files with 41 additions and 17 deletions

View File

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