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

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

@@ -54,7 +54,7 @@ export const BillModalMixin = {
let userInfo = Vue.ls.get(USER_INFO)
this.isTenant = userInfo.id === userInfo.tenantId? true:false
let realScreenWidth = window.screen.width * window.devicePixelRatio
this.width = realScreenWidth<1600?'1300px':'1600px'
this.width = realScreenWidth<1500?'1300px':'1550px'
},
computed: {
readOnly: function() {