修改 测试bug

This commit is contained in:
GGJ
2024-11-12 11:41:46 +08:00
parent c56c301365
commit 299301d4f7
4 changed files with 182 additions and 219 deletions

View File

@@ -74,7 +74,7 @@ const showUnfoldButton = ref(false)
const headerFormSecondStyleOpen = {
opacity: 1,
height: 'auto',
padding: '0 15px 13px 15px'
padding: '0 15px 0px 15px'
}
const headerFormSecondStyleClose = {
opacity: 0,
@@ -129,6 +129,7 @@ const computedSearchRow = () => {
headerFormSecond.value.$el.appendChild(elFormItem[i])
}
}
console.log("🚀 ~ computedSearchRow ~ headerFormSecond.value.$el.scrollHeight :", headerFormSecond.value.$el.scrollHeight )
// 判断是否需要折叠
if (headerFormSecond.value.$el.scrollHeight > 0) {