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