diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/mixin.js b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/mixin.js index 03e081ae..9d4b8886 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/mixin.js +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/mixin.js @@ -25,11 +25,17 @@ export const dialogDelayVisible = { computed: { obverseVisible: { set(bool) { - this.visibleClose?.(bool); + try { + typeof this.visibleClose === "function" && this.visibleClose?.(bool); + } catch (error) {} + setTimeout(() => { this.$emit("change", bool); }, 180); - this.visibleData = bool; + + setTimeout(() => { + this.visibleData = bool; + }); }, get() { return this.visibleData;