备注
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -56,7 +56,7 @@ export default { | ... | @@ -56,7 +56,7 @@ export default { |
56 | mounted () { | 56 | mounted () { |
57 | // 计算滚动条高度 | 57 | // 计算滚动条高度 |
58 | setTimeout(() => { | 58 | setTimeout(() => { |
59 | if(this.btnShow){ | 59 | if(this.btnShow){ //判断按钮的显影来决定是否需要计算高度 |
60 | if(this.height == 'auto'){ | 60 | if(this.height == 'auto'){ |
61 | this.contentHeight = (this.$refs.contentRef.offsetHeight - 115) + 'px' | 61 | this.contentHeight = (this.$refs.contentRef.offsetHeight - 115) + 'px' |
62 | }else{ | 62 | }else{ | ... | ... |
-
Please register or sign in to post a comment