根据电脑分辨率适配录入框的宽度

This commit is contained in:
季圣华
2022-05-10 23:58:05 +08:00
parent 0d3b8c0790
commit f5ec0c4767
4 changed files with 8 additions and 0 deletions

View File

@@ -1234,6 +1234,8 @@
}
},
created () {
let realScreenWidth = window.screen.width * window.devicePixelRatio
this.width = realScreenWidth<1600?'1300px':'1600px'
},
methods: {
initSetting(record, type, ds) {