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