style(Survey): 调整标题宽度判断逻辑
- 将标题宽度的判断阈值从 130 修改为 120
This commit is contained in:
@@ -62,7 +62,7 @@ onMounted(() => {
|
||||
// console.log(titleRef.value);
|
||||
if (titleRef.value) {
|
||||
const offsetWidth = titleRef.value.$el.offsetWidth;
|
||||
isShortTitle.value = 130 <= offsetWidth;
|
||||
isShortTitle.value = 120 <= offsetWidth;
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user