Browse Source

首页相机弹窗bug

wangqin
Joe 10 months ago
parent
commit
b9cc1c6aa7
  1. 8
      ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/mixin.js

8
ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/mixin.js

@ -25,11 +25,17 @@ export const dialogDelayVisible = {
computed: { computed: {
obverseVisible: { obverseVisible: {
set(bool) { set(bool) {
this.visibleClose?.(bool); try {
typeof this.visibleClose === "function" && this.visibleClose?.(bool);
} catch (error) {}
setTimeout(() => { setTimeout(() => {
this.$emit("change", bool); this.$emit("change", bool);
}, 180); }, 180);
setTimeout(() => {
this.visibleData = bool; this.visibleData = bool;
});
}, },
get() { get() {
return this.visibleData; return this.visibleData;

Loading…
Cancel
Save