mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-05 15:36:49 +08:00
fix
This commit is contained in:
@@ -26,6 +26,9 @@ let isRefreshed = ref(false)
|
|||||||
const localOrderKey = props.type === '电影' ? 'MP_SUBSCRIBE_MOVIE_ORDER' : 'MP_SUBSCRIBE_TV_ORDER'
|
const localOrderKey = props.type === '电影' ? 'MP_SUBSCRIBE_MOVIE_ORDER' : 'MP_SUBSCRIBE_TV_ORDER'
|
||||||
const orderRequestKey = props.type === '电影' ? 'SubscribeMovieOrder' : 'SubscribeTvOrder'
|
const orderRequestKey = props.type === '电影' ? 'SubscribeMovieOrder' : 'SubscribeTvOrder'
|
||||||
|
|
||||||
|
// 刷新状态
|
||||||
|
const loading = ref(false)
|
||||||
|
|
||||||
// 数据列表
|
// 数据列表
|
||||||
const dataList = ref<Subscribe[]>([])
|
const dataList = ref<Subscribe[]>([])
|
||||||
|
|
||||||
@@ -110,8 +113,11 @@ async function fetchData() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// 刷新状态
|
// 历史记录窗口完成
|
||||||
const loading = ref(false)
|
function historyDone() {
|
||||||
|
historyDialog.value = false
|
||||||
|
fetchData()
|
||||||
|
}
|
||||||
|
|
||||||
onMounted(async () => {
|
onMounted(async () => {
|
||||||
await loadSubscribeOrderConfig()
|
await loadSubscribeOrderConfig()
|
||||||
@@ -195,11 +201,6 @@ onActivated(async () => {
|
|||||||
v-model="historyDialog"
|
v-model="historyDialog"
|
||||||
:type="props.type"
|
:type="props.type"
|
||||||
@close="historyDialog = false"
|
@close="historyDialog = false"
|
||||||
@save="
|
@save="historyDone"
|
||||||
() => {
|
|
||||||
historyDialog = false
|
|
||||||
fetchData()
|
|
||||||
}
|
|
||||||
"
|
|
||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
Reference in New Issue
Block a user