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) {