From 4099c5e1b57fb855d61946340c0d12f9897aef1f Mon Sep 17 00:00:00 2001 From: thsrite Date: Tue, 17 Oct 2023 16:43:29 +0800 Subject: [PATCH] fix --- .../moviepilotupdatenotify/__init__.py | 25 +++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/app/plugins/moviepilotupdatenotify/__init__.py b/app/plugins/moviepilotupdatenotify/__init__.py index 214ab7ff..b2222ec1 100644 --- a/app/plugins/moviepilotupdatenotify/__init__.py +++ b/app/plugins/moviepilotupdatenotify/__init__.py @@ -179,13 +179,34 @@ class MoviePilotUpdateNotify(_PluginBase): { 'component': 'VSwitch', 'props': { - 'model': 'onlyonce', - 'label': '立即运行一次', + 'model': 'notify', + 'label': '发送通知', } } ] } ] + }, + { + 'component': 'VRow', + 'content': [ + { + 'component': 'VCol', + 'props': { + 'cols': 12, + }, + 'content': [ + { + 'component': 'VTextField', + 'props': { + 'model': 'cron', + 'label': '检查周期', + 'placeholder': '5位cron表达式' + } + } + ] + }, + ] } ] }