From e7a4605d087bc8e9c89188fd7bedc7bd93c1214b Mon Sep 17 00:00:00 2001 From: long <515897141@qq.com> Date: 星期二, 19 十月 2021 12:12:37 +0800 Subject: [PATCH] v-el-drag-dialog弹窗拖拽功能优: 弹窗高度大于屏幕可视高度时 禁止拖拽 --- src/pages/demo/index.vue | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/src/pages/demo/index.vue b/src/pages/demo/index.vue index e8545fe..3e6dd75 100644 --- a/src/pages/demo/index.vue +++ b/src/pages/demo/index.vue @@ -38,6 +38,12 @@ </el-row> <!-- 鎿嶄綔鍖� 鈫戔啈鈫戔啈鈫戔啈鈫戔啈鈫戔啈 --> + <!-- + table鍙傛暟璁剧疆锛� + stripe 鏄惁涓烘枒椹汗 + border 鏄惁甯︽湁绾靛悜杈规 + max-height 鏈�澶ч珮搴� + --> <el-table :data="list" stripe> <el-table-column type="index" label="搴忓彿" align="center" width="60" /> <el-table-column label="瑙掕壊鍚嶇О" prop="name" align="center" min-width="120" /> @@ -248,7 +254,8 @@ this.postFN({ url: 'xxx', params: { - id: item.id + id: item.id, + isUp: item.isUp }, mockData: { code: 100, -- Gitblit v1.8.0