Browse Source

feat 增加首页弹窗蒙层 ZIndex调大

wangqin
qingzhengli 11 months ago
parent
commit
753f2de61b
  1. 8
      ruoyi-ui/src/views/JiHeExpressway/components/Dialog/index.vue

8
ruoyi-ui/src/views/JiHeExpressway/components/Dialog/index.vue

@ -75,8 +75,7 @@ export default {
}, },
methods: { methods: {
updateDialogVisible(bool) { updateDialogVisible(bool) {
this.modelVisible = bool; this.modelVisible = bool;;
console.log("modelVisible", this.modelVisible);
}, },
}, },
mounted() { mounted() {
@ -88,15 +87,12 @@ export default {
return this.visible; return this.visible;
}, },
set(val) { set(val) {
console.log("val", "val")
this.$emit("update:value", val); this.$emit("update:value", val);
}, },
}, },
}, },
beforeDestroy() { beforeDestroy() {
console.log("beforeDestory111")
this.modelVisible = false; this.modelVisible = false;
this.emitter.off("updateDialogVisible", this.updateDialogVisible);
}, },
}; };
</script> </script>
@ -109,7 +105,7 @@ export default {
height: 100%; height: 100%;
background: rgba(0, 0, 0, 0.36); background: rgba(0, 0, 0, 0.36);
border-radius: 0px 0px 0px 0px; border-radius: 0px 0px 0px 0px;
z-index: 100; z-index: 1100;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;

Loading…
Cancel
Save