Create an el-drawer component without visible.sync Adddestroy-on-close="true" Add abefore-closemethod that does some pre-close work and then closes the drawer Add a component inside the drawer that holds some sort of state, so you can see if it has been destroyed the next time you open...
1、el-drawer设置属性:close-on-press-escape="true",按下 ESC 只关闭了遮罩层,未关闭 Drawer。 2、el-drawer设置属性 :wrapperClosable="false",点击遮罩层还是可以关闭 Drawer。 What is Expected? 1、el-drawer设置属性:close-on-press-escape="true",按下 ESC 同时关闭了遮罩层以及Drawer。 2、el-drawer...