Commit 6ca96cf4 authored by tanjunxin's avatar tanjunxin

fix: 排班日历弹出层逻辑优化

parent 56c90b3f
...@@ -303,14 +303,15 @@ export default { ...@@ -303,14 +303,15 @@ export default {
handleShow(row, ref) { handleShow(row, ref) {
Object.keys(this.$refs).forEach((key) => { Object.keys(this.$refs).forEach((key) => {
if(key.includes("popoverRef-")) { if(key.includes("popoverRef-")) {
if ( if(key != ref) {
key != ref && this.$refs[key].forEach((ele) => {
this.$refs[key][0].showPopper if(ele.showPopper) {
) { this.$nextTick(() => {
this.$nextTick(() => { ele.doClose();
this.$refs[key][0].doClose(); });
}); }
} })
}
} }
}); });
this.content = []; this.content = [];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment