From 084449ccf38024265ed73d5a6762f94c5a7900ce Mon Sep 17 00:00:00 2001 From: jxxghp Date: Wed, 28 Feb 2024 18:54:35 +0800 Subject: [PATCH 1/4] rebuild --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index b1616153..3182082c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "moviepilot", - "version": "1.6.8-1", + "version": "1.6.8-2", "private": true, "bin": "dist/service.js", "scripts": { From c0517cd29a3a86dc4bc2b71c94866799a34ca247 Mon Sep 17 00:00:00 2001 From: maicss Date: Thu, 29 Feb 2024 09:48:23 +0800 Subject: [PATCH 2/4] fix: toast message not visible When install plugin failed, `z-index` of toast is `1090` while `v-dialog` is `2400`. --- src/views/plugin/PluginCardListView.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/views/plugin/PluginCardListView.vue b/src/views/plugin/PluginCardListView.vue index 6610ebca..3528fc79 100644 --- a/src/views/plugin/PluginCardListView.vue +++ b/src/views/plugin/PluginCardListView.vue @@ -105,6 +105,7 @@ onBeforeMount(() => { fullscreen scrollable :scrim="false" + :z-index="1010" transition="dialog-bottom-transition" > From ef92cdc183511a690cecc3d2ea61e105ee5302ef Mon Sep 17 00:00:00 2001 From: jxxghp Date: Thu, 29 Feb 2024 16:15:09 +0800 Subject: [PATCH 3/4] fix torrent type --- package.json | 2 +- src/api/types.ts | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 3182082c..b81ea66c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "moviepilot", - "version": "1.6.8-2", + "version": "1.6.9", "private": true, "bin": "dist/service.js", "scripts": { diff --git a/src/api/types.ts b/src/api/types.ts index e393870c..b973d883 100644 --- a/src/api/types.ts +++ b/src/api/types.ts @@ -658,6 +658,9 @@ export interface TorrentInfo { // 剩余免费时间 freedate_diff: string + // 种子类型 + category: string + } // 识别元数据 From ecdd12f5a95a8992d24d7086b3ee7a7a0f566002 Mon Sep 17 00:00:00 2001 From: jxxghp Date: Thu, 29 Feb 2024 20:21:30 +0800 Subject: [PATCH 4/4] fix --- src/views/reorganize/DownloadingListView.vue | 7 +++---- src/views/subscribe/SubscribeListView.vue | 7 +++---- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/src/views/reorganize/DownloadingListView.vue b/src/views/reorganize/DownloadingListView.vue index 71b9d0da..15c36828 100644 --- a/src/views/reorganize/DownloadingListView.vue +++ b/src/views/reorganize/DownloadingListView.vue @@ -6,10 +6,6 @@ import NoDataFound from '@/components/NoDataFound.vue' import DownloadingCard from '@/components/cards/DownloadingCard.vue' import store from '@/store' -// 从Vuex Store中获取用户信息 -const superUser = store.state.auth.superUser -const userName = store.state.auth.userName - // 定时器 let refreshTimer: NodeJS.Timer | null = null @@ -42,6 +38,9 @@ function onRefresh() { // 过滤数据,管理员用户显示全部,非管理员只显示自己的订阅 const filteredDataList = computed(() => { + // 从Vuex Store中获取用户信息 + const superUser = store.state.auth.superUser + const userName = store.state.auth.userName if (superUser) return dataList.value else diff --git a/src/views/subscribe/SubscribeListView.vue b/src/views/subscribe/SubscribeListView.vue index 549e7754..7697372c 100644 --- a/src/views/subscribe/SubscribeListView.vue +++ b/src/views/subscribe/SubscribeListView.vue @@ -11,10 +11,6 @@ const props = defineProps({ type: String, }) -// 从Vuex Store中获取用户信息 -const superUser = store.state.auth.superUser -const userName = store.state.auth.userName - // 是否刷新过 const isRefreshed = ref(false) @@ -47,6 +43,9 @@ function onRefresh() { // 过滤数据,管理员用户显示全部,非管理员只显示自己的订阅 const filteredDataList = computed(() => { +// 从Vuex Store中获取用户信息 + const superUser = store.state.auth.superUser + const userName = store.state.auth.userName if (superUser) return dataList.value.filter(data => data.type === props.type) else