fix mobile

This commit is contained in:
jxxghp
2024-05-09 18:54:19 +08:00
parent 201411841c
commit ea601ae404

View File

@@ -221,12 +221,6 @@ function dragOrderEnd() {
saveDashboardConfig()
}
// 拖动排序开始
function dragOrderBegin() {
// 如果是移动端则取消
if (!display.mdAndUp.value) return false
}
onBeforeMount(async () => {
await loadDashboardConfig()
getDashboardPlugins()
@@ -238,7 +232,6 @@ onBeforeMount(async () => {
<draggable
v-model="dashboardConfigs"
@end="dragOrderEnd"
:move="dragOrderBegin"
handle=".cursor-move"
item-key="id"
tag="VRow"