fix ui bug

This commit is contained in:
jxxghp
2023-10-20 12:42:54 +08:00
parent e8552b4385
commit a3d2def72b
4 changed files with 4 additions and 5 deletions

View File

@@ -44,7 +44,7 @@ const subscribeSeasonDialog = ref(false)
const subscribeEditDialog = ref(false)
// 订阅ID
const subscribeId = ref(0)
const subscribeId = ref<number>()
// 季详情
const seasonInfos = ref<TmdbSeason[]>([])

View File

@@ -205,8 +205,7 @@ const effectOptions = ref([
},
])
// 初始化
onMounted(async () => {
watchEffect(() => {
if (props.subid) {
getSiteList()
getSubscribeInfo()

View File

@@ -44,7 +44,7 @@ const seasonsNotExisted = ref<{ [key: number]: number }>({})
const seasonsSubscribed = ref<{ [key: number]: boolean }>({})
// 订阅编号
const subscribeId = ref(0)
const subscribeId = ref<number>()
// 调用API查询详情
async function getMediaDetail() {