From 7a7bd2d7322e40c4aae5795402f4347e8122a5ea Mon Sep 17 00:00:00 2001 From: xy <271556543@qq.com> Date: Mon, 6 Jan 2025 18:14:13 +0800 Subject: [PATCH] 1 --- src/views/system/dashboard.vue | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/src/views/system/dashboard.vue b/src/views/system/dashboard.vue index 3560e6a..f14801c 100644 --- a/src/views/system/dashboard.vue +++ b/src/views/system/dashboard.vue @@ -63,6 +63,8 @@ :h="item.h" :i="item.i" style="touch-action: none" + @move="active = item.i" + :style="{ 'border': active === item.i ? 'var(--theme-color) solid 1px' : '' }" > j.i === this.active), 1) + } + }, dragEnd(item, e) { this.isDrag = false if (e.clientX >= this.grid.x && e.clientY >= this.grid.y) {