feat: 增加侧滑点击外部关闭的功能
1.增加:config-account、config-promserver、alert-rule
This commit is contained in:
@@ -78,7 +78,7 @@
|
||||
</div>
|
||||
|
||||
<transition name="right-box">
|
||||
<div class="right-box right-box-prom" v-if="rightBox.show">
|
||||
<div class="right-box right-box-prom" v-if="rightBox.show" v-clickoutside="clickos">
|
||||
<!-- begin--顶部按钮-->
|
||||
<div class="right-box-top-btns">
|
||||
<button type="button" v-if="rightBox.isEdit && promServer.id != ''" @click="del(promServer)"
|
||||
@@ -364,6 +364,9 @@
|
||||
this.$store.commit('setHeaderTable', data);
|
||||
this.tablelable = data;
|
||||
},
|
||||
clickos() {
|
||||
this.rightBox.show = false;
|
||||
},
|
||||
toEdit: function (u) {
|
||||
this.promServer = Object.assign({}, u);
|
||||
this.rightBox.isEdit = true;
|
||||
|
||||
Reference in New Issue
Block a user