1.依照现在开放的 CustomDialog 的API,无法实现依附效果。2.可以尝试使用 bindContextMenu 。参考:https://developer.huawei.com/consumer/cn/doc/harmonyos-references-V5/ts-universal-attributes-menu-V5
1.依照现在开放的 CustomDialog 的API,无法实现依附效果。2.可以尝试使用 bindContextMenu 。
参考:https://developer.huawei.com/consumer/cn/doc/harmonyos-references-V5/ts-universal-attributes-menu-V5