This commit is contained in:
X1627315083
2024-09-02 12:26:35 +08:00
parent b22f0495d9
commit 1a8af7b0b4
5 changed files with 16 additions and 12 deletions

View File

@@ -568,8 +568,6 @@ export default defineComponent({
let commentBtn = parent.querySelector('.left_content_item_unfold')
let commentDomSon = el.querySelector('div')
let maxHeight = Number((window.getComputedStyle(el).maxHeight).split('px')[0])
console.log(commentDomSon.offsetHeight , maxHeight);
if(commentDomSon.offsetHeight > maxHeight){
commentBtn.style.display = 'block'
}else if(!binding.value.detailUnfold){