fix
This commit is contained in:
@@ -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){
|
||||
|
||||
Reference in New Issue
Block a user