根据电脑分辨率适配录入框的宽度
This commit is contained in:
@@ -1234,6 +1234,8 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
created () {
|
created () {
|
||||||
|
let realScreenWidth = window.screen.width * window.devicePixelRatio
|
||||||
|
this.width = realScreenWidth<1600?'1300px':'1600px'
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
initSetting(record, type, ds) {
|
initSetting(record, type, ds) {
|
||||||
|
|||||||
@@ -44,6 +44,8 @@ export const BillModalMixin = {
|
|||||||
created () {
|
created () {
|
||||||
let userInfo = Vue.ls.get(USER_INFO)
|
let userInfo = Vue.ls.get(USER_INFO)
|
||||||
this.isTenant = userInfo.id === userInfo.tenantId? true:false
|
this.isTenant = userInfo.id === userInfo.tenantId? true:false
|
||||||
|
let realScreenWidth = window.screen.width * window.devicePixelRatio
|
||||||
|
this.width = realScreenWidth<1600?'1300px':'1600px'
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
readOnly: function() {
|
readOnly: function() {
|
||||||
|
|||||||
@@ -473,6 +473,8 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
created () {
|
created () {
|
||||||
|
let realScreenWidth = window.screen.width * window.devicePixelRatio
|
||||||
|
this.width = realScreenWidth<1600?'1300px':'1600px'
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
show(record, type) {
|
show(record, type) {
|
||||||
|
|||||||
@@ -34,6 +34,8 @@ export const FinancialModalMixin = {
|
|||||||
created () {
|
created () {
|
||||||
let userInfo = Vue.ls.get(USER_INFO)
|
let userInfo = Vue.ls.get(USER_INFO)
|
||||||
this.isTenant = userInfo.id === userInfo.tenantId? true:false
|
this.isTenant = userInfo.id === userInfo.tenantId? true:false
|
||||||
|
let realScreenWidth = window.screen.width * window.devicePixelRatio
|
||||||
|
this.width = realScreenWidth<1600?'1300px':'1600px'
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
readOnly: function() {
|
readOnly: function() {
|
||||||
|
|||||||
Reference in New Issue
Block a user