landluck 9352b33673
feat(overlay): add root-portal prop support (#5255)
* feat(overlay): add root-portal prop support

* feat(overlay): opt doc style

---------

Co-authored-by: liuhaihonggia <liuhaihong@youzan.com>
2023-02-27 11:23:26 +08:00

8 lines
164 B
Plaintext

<import src="./overlay.wxml" />
<root-portal wx:if="{{ rootPortal }}">
<include src="./overlay.wxml" />
</root-portal>
<include wx:else src="./overlay.wxml" />