xugenyuan

ref |> 视频播放,点击评论按钮,播放区域上推,点击播放区,评论弹窗应自动关闭

Signed-off-by: xugenyuan <xugenyuan@wondertek.com.cn>
@@ -24,7 +24,10 @@ export struct CommentListDialogView { @@ -24,7 +24,10 @@ export struct CommentListDialogView {
24 pageInfo: this.pageInfo, 24 pageInfo: this.pageInfo,
25 onClose: this.onClose 25 onClose: this.onClose
26 }), 26 }),
27 - autoCancel: false, 27 + autoCancel: true,
  28 + cancel: () => {
  29 + PublicDialogManager.shareInstance().closeDialog(this.dialogController)
  30 + },
28 customStyle: true, 31 customStyle: true,
29 alignment: DialogAlignment.Bottom, 32 alignment: DialogAlignment.Bottom,
30 }) 33 })