style: 在移动端禁用拖拽

This commit is contained in:
Baobhan Sith
2025-05-13 13:14:05 +08:00
parent 2a6b0cb090
commit 6889dbe564
@@ -403,9 +403,10 @@ onBeforeUnmount(() => {
tag="ul" tag="ul"
class="flex list-none p-0 m-0 h-full flex-shrink-0" class="flex list-none p-0 m-0 h-full flex-shrink-0"
@update:modelValue="handleSessionsUpdate" @update:modelValue="handleSessionsUpdate"
ghost-class="opacity-50" ghost-class="opacity-50"
drag-class="opacity-75" drag-class="opacity-75"
animation="150" animation="150"
:disabled="props.isMobile" <!-- 在移动端禁用拖拽 -->
> >
<template #item="{ element: session }"> <template #item="{ element: session }">
<li <li