Showing
2 changed files
with
2 additions
and
2 deletions
| @@ -36,7 +36,7 @@ export struct CommentListDialogView { | @@ -36,7 +36,7 @@ export struct CommentListDialogView { | ||
| 36 | showClose: false, | 36 | showClose: false, |
| 37 | maskColor: "#50000000", | 37 | maskColor: "#50000000", |
| 38 | dragBar: false, | 38 | dragBar: false, |
| 39 | - onDisappear: () => { | 39 | + onWillDisappear: () => { |
| 40 | this.showCommentList = false | 40 | this.showCommentList = false |
| 41 | if (this.onClose) { this.onClose() } | 41 | if (this.onClose) { this.onClose() } |
| 42 | }, | 42 | }, |
| @@ -304,7 +304,7 @@ export struct DetailPlayShortVideoPage { | @@ -304,7 +304,7 @@ export struct DetailPlayShortVideoPage { | ||
| 304 | } | 304 | } |
| 305 | 305 | ||
| 306 | showCommentListChanged() { | 306 | showCommentListChanged() { |
| 307 | - // console.log('DetailVideoListPage showCommentListChanged this.showCommentList', this.showCommentList) | 307 | + console.log('DetailVideoListPage showCommentListChanged this.showCommentList', this.showCommentList) |
| 308 | if (this.showCommentList) { | 308 | if (this.showCommentList) { |
| 309 | this.playerWidth = px2vp(this.windowWidth) | 309 | this.playerWidth = px2vp(this.windowWidth) |
| 310 | // this.playerHeight = px2vp(this.windowWidth) / (16 / 9.0) | 310 | // this.playerHeight = px2vp(this.windowWidth) / (16 / 9.0) |
-
Please register or login to post a comment