Commit 6ca96cf4 authored by tanjunxin's avatar tanjunxin

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

parent 56c90b3f
......@@ -303,14 +303,15 @@ export default {
handleShow(row, ref) {
Object.keys(this.$refs).forEach((key) => {
if(key.includes("popoverRef-")) {
if (
key != ref &&
this.$refs[key][0].showPopper
) {
if(key != ref) {
this.$refs[key].forEach((ele) => {
if(ele.showPopper) {
this.$nextTick(() => {
this.$refs[key][0].doClose();
ele.doClose();
});
}
})
}
}
});
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