style: 在移动端禁用拖拽
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user