From 7f991da18396c697962426474b197d417d8015fc Mon Sep 17 00:00:00 2001 From: jxxghp Date: Wed, 18 Oct 2023 21:07:26 +0800 Subject: [PATCH] fix ui --- package.json | 2 +- src/components/form/SubscribeEditForm.vue | 8 +------- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index 38c79028..d5b1ae3d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "moviepilot", - "version": "1.3.4-2", + "version": "1.3.4-3", "private": true, "bin": "dist/service.js", "scripts": { diff --git a/src/components/form/SubscribeEditForm.vue b/src/components/form/SubscribeEditForm.vue index 78db3ba6..2d2fd5b6 100644 --- a/src/components/form/SubscribeEditForm.vue +++ b/src/components/form/SubscribeEditForm.vue @@ -47,7 +47,6 @@ const $toast = useToast() // 调用API修改订阅 async function updateSubscribeInfo() { try { - subscribeForm.value.best_version = subscribeForm.value.best_version ? 1 : 0 const result: { [key: string]: any } = await api.put('subscribe/', subscribeForm.value) // 提示 if (result.success) { @@ -122,11 +121,6 @@ async function removeSubscribe() { } } -watchEffect(() => { - if (props.subid) - getSubscribeInfo() -}) - // 质量选择框数据 const qualityOptions = ref([ { @@ -213,8 +207,8 @@ const effectOptions = ref([ // 初始化 onMounted(async () => { - // 加载订阅站点列表 getSiteList() + getSubscribeInfo() })