|
@@ -31,7 +31,7 @@
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<script lang="ts">
|
|
<script lang="ts">
|
|
-import { defineComponent, onUnmounted, reactive, ref } from "vue";
|
|
|
|
|
|
+import { defineComponent, onMounted, onUnmounted, reactive, ref } from "vue";
|
|
import { CloseOutlined } from "@ant-design/icons-vue";
|
|
import { CloseOutlined } from "@ant-design/icons-vue";
|
|
import { store } from "@/features/mark/store";
|
|
import { store } from "@/features/mark/store";
|
|
|
|
|
|
@@ -43,7 +43,7 @@ export default defineComponent({
|
|
top: { type: String, default: "10%" },
|
|
top: { type: String, default: "10%" },
|
|
width: { type: String, default: "30%" },
|
|
width: { type: String, default: "30%" },
|
|
height: { type: String, default: "30%" },
|
|
height: { type: String, default: "30%" },
|
|
- zIndex: { type: Number, default: 1000 },
|
|
|
|
|
|
+ zIndex: { type: Number, default: 1020 },
|
|
},
|
|
},
|
|
emits: ["close"],
|
|
emits: ["close"],
|
|
setup({ top, width, height, title, zIndex }) {
|
|
setup({ top, width, height, title, zIndex }) {
|
|
@@ -135,6 +135,10 @@ export default defineComponent({
|
|
resizeHandler.value.removeEventListener("mouseout", handleResizeMouseOut);
|
|
resizeHandler.value.removeEventListener("mouseout", handleResizeMouseOut);
|
|
};
|
|
};
|
|
|
|
|
|
|
|
+ onMounted(() => {
|
|
|
|
+ increaseZIndex();
|
|
|
|
+ });
|
|
|
|
+
|
|
onUnmounted(() => {
|
|
onUnmounted(() => {
|
|
if (title) {
|
|
if (title) {
|
|
sessionStorage.setItem(
|
|
sessionStorage.setItem(
|
|
@@ -164,7 +168,7 @@ export default defineComponent({
|
|
|
|
|
|
<style scoped>
|
|
<style scoped>
|
|
.dialog-container {
|
|
.dialog-container {
|
|
- z-index: 1000;
|
|
|
|
|
|
+ z-index: 1020;
|
|
position: absolute;
|
|
position: absolute;
|
|
min-width: 100px;
|
|
min-width: 100px;
|
|
background-color: white;
|
|
background-color: white;
|