From dd005b03c33258be77e39b2c1cc5cc6f78387542 Mon Sep 17 00:00:00 2001 From: chenzeping <ChenZeping02609@163.com> Date: 星期四, 08 四月 2021 10:13:45 +0800 Subject: [PATCH] 弹框问题修改 --- src/components/table/summarySheets.vue | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/components/table/summarySheets.vue b/src/components/table/summarySheets.vue index 9411a28..6592090 100644 --- a/src/components/table/summarySheets.vue +++ b/src/components/table/summarySheets.vue @@ -9,7 +9,7 @@ <!-- <Dialog ref="summarySheets" title="浼佷笟鎸囨爣鍒嗙被缁熻">--> <!-- <tab-handover></tab-handover>--> <!-- </Dialog >--> - <div class="dialog" v-drag> + <div class="dialog" v-drag v-show="dialogShow"> <tab-handover></tab-handover> </div> </div> @@ -29,11 +29,13 @@ }, data () { return { - summaryVisible: false + summaryVisible: false, + dialogShow: false } }, methods: { closeBtn () { + this.dialogShow = !this.dialogShow // const summary = document.getElementById('summary') // summary.style.display = 'none' this.$refs.summarySheets.show() @@ -61,8 +63,8 @@ z-index: 500; .dialog { - width: 800px; - height: 300px; + //width: 800px; + //height: 300px; position: absolute; top: 15%; left: 3rem; -- Gitblit v1.8.0