This commit is contained in:
jxxghp
2023-07-01 10:05:59 +08:00
parent b3cccd50d9
commit b847ad57e7
5 changed files with 2 additions and 17 deletions

View File

@@ -1,15 +1,9 @@
<script lang="ts" setup>
const route = useRoute();
const onRefresh = () => {
location.reload();
};
</script>
<template>
<VApp>
<PullRefresh @refresh="onRefresh">
<RouterView :key="route.fullPath" />
</PullRefresh>
<RouterView :key="route.fullPath" />
</VApp>
</template>

View File

@@ -8,7 +8,6 @@ import store from '@/store'
import '@core/scss/template/index.scss'
import '@layouts/styles/index.scss'
import '@styles/styles.scss'
import PullRefresh from 'pull-refresh-vue3'
import { createApp } from 'vue'
loadFonts()
@@ -21,5 +20,4 @@ app
.use(vuetify)
.use(router)
.use(store)
.use(PullRefresh)
.mount('#app')

View File

@@ -8,7 +8,6 @@ const props = defineProps({
type: String,
});
// 数据列表
const dataList = ref<Subscribe[]>([]);