在el-drawer中添加close-on-click-modal属性即可。
<el-drawer close-on-click-modal :with-header="false" v-model="drawer">
</el-drawer>
在el-drawer中添加close-on-click-modal属性即可。
<el-drawer close-on-click-modal :with-header="false" v-model="drawer">
</el-drawer>