chenquansheng

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

... ... @@ -44,14 +44,18 @@ export struct CommentListDialogView {
showClose: false,
maskColor: "#50000000",
dragBar: false,
onDisappear:()=>{
this.showCommentList = false
if (this.onClose) { this.onClose() }
},
onWillDisappear: () => {
this.showCommentList = false
if (this.onClose) { this.onClose() }
},
shouldDismiss:((sheetDismiss: SheetDismiss)=> {
console.log("bind sheet shouldDismiss")
sheetDismiss.dismiss()
}),
// shouldDismiss:((sheetDismiss: SheetDismiss)=> {
// console.log("bind sheet shouldDismiss")
// sheetDismiss.dismiss()
// }),
onHeightDidChange: (number: number) => {
Logger.debug(TAG, "onHeightDidChange : " + number)
let height = number
... ...