mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-05 19:41:45 +08:00
* feat(overlay): add root-portal prop support * feat(overlay): opt doc style --------- Co-authored-by: liuhaihonggia <liuhaihong@youzan.com>
8 lines
164 B
Plaintext
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" />
|