visible 改open

This commit is contained in:
Wang Kejun 2022-10-27 12:15:54 +08:00
parent 70ceda9903
commit 2c09ea7d5e
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ export default function render(this: any) {
<Drawer <Drawer
placement={placement} placement={placement}
visible={visible} open={visible}
onClose={() => { onClose={() => {
this.setVisible(false); this.setVisible(false);
}} }}