You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// 用这种方式能挂载
<a-drawer
popup-container="#parentNode"
:visible="visible"
@ok="handleOk"
@cancel="handleCancel"
>
<template #title> Title </template>
<div>
You can customize modal body text by the current situation. This modal
will be closed immediately once you press the OK button.
</div>
</a-drawer>
//函数方式不行
Drawer.open({
title: "Info Title",
content: "This is an info message",
width: 340,
popupContainer: "#parentNode",
});
The text was updated successfully, but these errors were encountered:
Basic Info
What is expected?
根据文档中的指导,把挂载位置和函数调用结合,并不能使Drawer挂载到相应的位置,会挂载到body上。但是,一样的配置,不使用函数调用,直接用a-drawer的方式,却可以挂载到想要去的地方。(配置、挂载点均一致,唯一的区别只是component方式还是api方式)
Steps to reproduce
The text was updated successfully, but these errors were encountered: