From fa62943679cd092581e5cfacb2398c64cf7db00a Mon Sep 17 00:00:00 2001 From: jxxghp Date: Thu, 31 Aug 2023 16:28:18 +0800 Subject: [PATCH 1/2] fix ui --- app/plugins/syncdownloadfiles/__init__.py | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/app/plugins/syncdownloadfiles/__init__.py b/app/plugins/syncdownloadfiles/__init__.py index 33934669..0bf6b490 100644 --- a/app/plugins/syncdownloadfiles/__init__.py +++ b/app/plugins/syncdownloadfiles/__init__.py @@ -397,7 +397,7 @@ class SyncDownloadFiles(_PluginBase): 'component': 'VSwitch', 'props': { 'model': 'history', - 'label': '同时补充整理历史记录', + 'label': '补充整理历史记录', } } ] @@ -411,26 +411,23 @@ class SyncDownloadFiles(_PluginBase): 'component': 'VCol', 'props': { 'cols': 12, + 'md': 6 }, 'content': [ { 'component': 'VTextField', 'props': { 'model': 'time', - 'label': '时间间隔' + 'label': '同步时间间隔' } } ] }, - ] - }, - { - 'component': 'VRow', - 'content': [ { 'component': 'VCol', 'props': { - 'cols': 12 + 'cols': 12, + 'md': 6 }, 'content': [ { From 212f9c250f7612305807f177a31af66237653952 Mon Sep 17 00:00:00 2001 From: jxxghp Date: Thu, 31 Aug 2023 16:38:46 +0800 Subject: [PATCH 2/2] fix #343 --- app/plugins/torrentremover/__init__.py | 27 ++++++++++++++++++++++---- 1 file changed, 23 insertions(+), 4 deletions(-) diff --git a/app/plugins/torrentremover/__init__.py b/app/plugins/torrentremover/__init__.py index 5647ea26..d0e3a895 100644 --- a/app/plugins/torrentremover/__init__.py +++ b/app/plugins/torrentremover/__init__.py @@ -383,8 +383,8 @@ class TorrentRemover(_PluginBase): 'component': 'VTextField', 'props': { 'model': 'errorkeywords', - 'label': '错误信息关键词', - 'placeholder': '支持正式表达式' + 'label': '错误信息关键词(TR)', + 'placeholder': '支持正式表达式,仅适用于TR' } } ] @@ -399,8 +399,8 @@ class TorrentRemover(_PluginBase): 'component': 'VTextField', 'props': { 'model': 'torrentstates', - 'label': '任务状态', - 'placeholder': '用,分隔多个状态' + 'label': '任务状态(QB)', + 'placeholder': '用,分隔多个状态,仅适用于QB' } } ] @@ -475,6 +475,25 @@ class TorrentRemover(_PluginBase): ] } ] + }, + { + 'component': 'VRow', + 'content': [ + { + 'component': 'VCol', + 'props': { + 'cols': 12, + }, + 'content': [ + { + 'component': 'VAlert', + 'props': { + 'text': '自动删种存在风险,如设置不当可能导致数据丢失!建议动作先选择暂停,确定条件正确后再改成删除。' + } + } + ] + } + ] } ] }