feat: 所有侧滑增加点击外部后关闭的事件
This commit is contained in:
@@ -53,7 +53,7 @@
|
||||
}
|
||||
</style>
|
||||
<template key="chartBox">
|
||||
<div>
|
||||
<div v-clickoutside="clickos">
|
||||
<panel-box :panel="panel" @reload="panelReload" ref="panelBox2"></panel-box>
|
||||
|
||||
<transition name="right-box">
|
||||
@@ -270,6 +270,9 @@
|
||||
show(show) {
|
||||
this.rightBox.show = show;
|
||||
},
|
||||
clickos() {
|
||||
this.esc();
|
||||
},
|
||||
toAddPanel() {
|
||||
this.$refs.panelBox2.show(true);
|
||||
this.panel = {
|
||||
|
||||
Reference in New Issue
Block a user