refs #561 Close side bar with esc
This commit is contained in:
parent
7ebddf0d42
commit
9c84ff0da1
|
@ -1,6 +1,6 @@
|
|||
<template>
|
||||
<transition name="slide-detail">
|
||||
<div id="side_bar" v-if="openSideBar">
|
||||
<div id="side_bar" v-if="openSideBar" v-shortkey="['esc']" @shortkey="close">
|
||||
<div class="header">
|
||||
<i class="el-icon-loading" v-show="loading"></i>
|
||||
<i class="el-icon-close" @click="close"></i>
|
||||
|
|
Loading…
Reference in New Issue