代码优化
This commit is contained in:
@@ -116,7 +116,7 @@ const handlerHeight = () => {
|
||||
const computedSearchRow = () => {
|
||||
const headerForm = document.getElementById('header-form') as HTMLElement
|
||||
const headerFormSecond = document.getElementById('header-form-second') as HTMLElement
|
||||
|
||||
if(!headerForm) return
|
||||
// 判断是否需要折叠
|
||||
if (headerForm.scrollHeight > 50) {
|
||||
showUnfoldButton.value = true
|
||||
|
||||
Reference in New Issue
Block a user