优化单据的宽度屏幕自适应
This commit is contained in:
@@ -468,7 +468,7 @@
|
||||
},
|
||||
created () {
|
||||
let realScreenWidth = window.screen.width * window.devicePixelRatio
|
||||
this.width = realScreenWidth<1600?'1300px':'1600px'
|
||||
this.width = realScreenWidth<1500?'1300px':'1550px'
|
||||
},
|
||||
methods: {
|
||||
show(record, type) {
|
||||
|
||||
@@ -37,7 +37,7 @@ export const FinancialModalMixin = {
|
||||
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() {
|
||||
|
||||
Reference in New Issue
Block a user