mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-05 15:36:49 +08:00
fix mobile
This commit is contained in:
@@ -221,12 +221,6 @@ function dragOrderEnd() {
|
|||||||
saveDashboardConfig()
|
saveDashboardConfig()
|
||||||
}
|
}
|
||||||
|
|
||||||
// 拖动排序开始
|
|
||||||
function dragOrderBegin() {
|
|
||||||
// 如果是移动端则取消
|
|
||||||
if (!display.mdAndUp.value) return false
|
|
||||||
}
|
|
||||||
|
|
||||||
onBeforeMount(async () => {
|
onBeforeMount(async () => {
|
||||||
await loadDashboardConfig()
|
await loadDashboardConfig()
|
||||||
getDashboardPlugins()
|
getDashboardPlugins()
|
||||||
@@ -238,7 +232,6 @@ onBeforeMount(async () => {
|
|||||||
<draggable
|
<draggable
|
||||||
v-model="dashboardConfigs"
|
v-model="dashboardConfigs"
|
||||||
@end="dragOrderEnd"
|
@end="dragOrderEnd"
|
||||||
:move="dragOrderBegin"
|
|
||||||
handle=".cursor-move"
|
handle=".cursor-move"
|
||||||
item-key="id"
|
item-key="id"
|
||||||
tag="VRow"
|
tag="VRow"
|
||||||
|
|||||||
Reference in New Issue
Block a user