From 6461f5659505768e7a90594c3aab47f90d9ee213 Mon Sep 17 00:00:00 2001 From: inleft <inleft@qq.com> Date: Mon, 22 Aug 2022 00:37:40 +0800 Subject: [PATCH] 弹窗添加可移动 --- src/components/group/MyModal.vue | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/group/MyModal.vue b/src/components/group/MyModal.vue index 7e2799d..9330fcf 100644 --- a/src/components/group/MyModal.vue +++ b/src/components/group/MyModal.vue @@ -1,6 +1,6 @@ <template> - <div class="myModal"> - <a-modal v-model="visible" title="日志添加" on-ok="handleOk" + <div class="myModal" ref="test"> + <a-modal v-drag-modal v-model="visible" title="日志添加" on-ok="handleOk" :bodyStyle="{'overflow':'overlay','maxHeight': '550px'}"> <template slot="footer"> <a-button key="reset" @click="reset" type="danger"> -- Gitblit v1.9.1