style(Survey): 调整标题宽度判断逻辑

- 将标题宽度的判断阈值从 130 修改为 120
This commit is contained in:
Huangzhe
2025-05-27 16:33:19 +08:00
parent d9187a0694
commit 0f1e1839da

View File

@@ -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;
}
});