fix:减少无效请求

This commit is contained in:
jxxghp
2024-04-07 08:28:37 +08:00
parent a07a32f648
commit f3a781d857
7 changed files with 12 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "moviepilot",
"version": "1.7.9",
"version": "1.7.9-1",
"private": true,
"bin": "dist/service.js",
"scripts": {
@@ -110,4 +110,4 @@
"resolutions": {
"postcss": "8"
}
}
}

View File

@@ -507,6 +507,7 @@ function getYear(airDate: string) {
</VHover>
<!-- 订阅季弹窗 -->
<VBottomSheet
v-if="subscribeSeasonDialog"
v-model="subscribeSeasonDialog"
inset
scrollable
@@ -590,6 +591,7 @@ function getYear(airDate: string) {
</VBottomSheet>
<!-- 订阅编辑弹窗 -->
<SubscribeEditForm
v-if="subscribeEditDialog"
v-model="subscribeEditDialog"
:subid="subscribeId"
@close="subscribeEditDialog = false"

View File

@@ -326,6 +326,7 @@ onMounted(() => {
</VCard>
</VDialog>
<SiteAddEditForm
v-if="siteEditDialog"
v-model="siteEditDialog"
:siteid="cardProps.site?.id"
@save="siteEditDialog = false; emit('update')"
@@ -334,6 +335,7 @@ onMounted(() => {
/>
<!-- 站点资源弹窗 -->
<VDialog
v-if="resourceDialog"
v-model="resourceDialog"
max-width="80rem"
scrollable

View File

@@ -285,6 +285,7 @@ const dropdownItems = ref([
</VCard>
<!-- 订阅编辑弹窗 -->
<SubscribeEditForm
v-if="subscribeEditDialog"
v-model="subscribeEditDialog"
:subid="props.media?.id"
@remove="() => { emit('remove');subscribeEditDialog = false; }"

View File

@@ -510,6 +510,7 @@ onMounted(() => {
</VCard>
<!-- 重命名弹窗 -->
<VDialog
v-if="renamePopper"
v-model="renamePopper"
max-width="50rem"
>
@@ -535,6 +536,7 @@ onMounted(() => {
</VDialog>
<!-- 文件整理弹窗 -->
<ReorganizeForm
v-if="transferPopper"
v-model="transferPopper"
:path="currentItem?.path"
@done="transferPopper = false; load()"
@@ -562,6 +564,7 @@ onMounted(() => {
</VDialog>
<!-- 识别结果对话框 -->
<VDialog
v-if="nameTestDialog"
v-model="nameTestDialog"
width="50rem"
>

View File

@@ -254,7 +254,7 @@ const effectOptions = ref([
},
])
watchEffect(() => {
onMounted(() => {
getSiteList()
if (props.subid)
getSubscribeInfo()

View File

@@ -104,6 +104,7 @@ const filteredDataList = computed(() => {
/>
<!-- 订阅编辑弹窗 -->
<SubscribeEditForm
v-if="subscribeEditDialog"
v-model="subscribeEditDialog"
:default="true"
:type="props.type"