mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-08-28 03:27:54 +08:00
pull to refresh
This commit is contained in:
+7
-1
@@ -1,9 +1,15 @@
|
||||
<script lang="ts" setup>
|
||||
const route = useRoute();
|
||||
|
||||
const onRefresh = () => {
|
||||
location.reload();
|
||||
};
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<VApp>
|
||||
<RouterView :key="route.fullPath" />
|
||||
<PullRefresh @refresh="onRefresh">
|
||||
<RouterView :key="route.fullPath" />
|
||||
</PullRefresh>
|
||||
</VApp>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user