进一步优化单据的宽度屏幕自适应
This commit is contained in:
@@ -54,7 +54,7 @@ export const BillModalMixin = {
|
||||
created () {
|
||||
let userInfo = Vue.ls.get(USER_INFO)
|
||||
this.isTenant = userInfo.id === userInfo.tenantId? true:false
|
||||
let realScreenWidth = window.screen.width * window.devicePixelRatio
|
||||
let realScreenWidth = window.screen.width
|
||||
this.width = realScreenWidth<1500?'1300px':'1550px'
|
||||
this.minWidth = realScreenWidth<1500?1250:1500
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user