mirror of
https://github.com/dataease/dataease.git
synced 2026-05-17 15:00:59 +08:00
refactor: 移动端过滤组件标题大小跟随pc端
This commit is contained in:
@@ -297,8 +297,8 @@ export default {
|
||||
component.style[key] = this.format(component.style[key], this.scaleHeight)
|
||||
}
|
||||
if (this.needToChangeWidth.includes(key)) {
|
||||
if (component.type === 'v-text' && key === 'fontSize' && this.terminal === 'mobile') {
|
||||
// do nothing 移动端字符大小无需按照比例缩放,当前保持不变
|
||||
if (key === 'fontSize' && this.terminal === 'mobile') {
|
||||
// do nothing 移动端字符大小无需按照比例缩放,当前保持不变(包括 v-text 和 过滤组件)
|
||||
} else {
|
||||
component.style[key] = this.format(component.style[key], this.scaleWidth)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user