chenquansheng

fix |> 修复bindSheet半模态退出时出现重影的问题

@@ -44,14 +44,18 @@ export struct CommentListDialogView { @@ -44,14 +44,18 @@ export struct CommentListDialogView {
44 showClose: false, 44 showClose: false,
45 maskColor: "#50000000", 45 maskColor: "#50000000",
46 dragBar: false, 46 dragBar: false,
  47 + onDisappear:()=>{
  48 + this.showCommentList = false
  49 + if (this.onClose) { this.onClose() }
  50 + },
47 onWillDisappear: () => { 51 onWillDisappear: () => {
48 this.showCommentList = false 52 this.showCommentList = false
49 if (this.onClose) { this.onClose() } 53 if (this.onClose) { this.onClose() }
50 }, 54 },
51 - shouldDismiss:((sheetDismiss: SheetDismiss)=> {  
52 - console.log("bind sheet shouldDismiss")  
53 - sheetDismiss.dismiss()  
54 - }), 55 + // shouldDismiss:((sheetDismiss: SheetDismiss)=> {
  56 + // console.log("bind sheet shouldDismiss")
  57 + // sheetDismiss.dismiss()
  58 + // }),
55 onHeightDidChange: (number: number) => { 59 onHeightDidChange: (number: number) => {
56 Logger.debug(TAG, "onHeightDidChange : " + number) 60 Logger.debug(TAG, "onHeightDidChange : " + number)
57 let height = number 61 let height = number