From 1e42a7509dd0d3ab0f363c8ad7a2ee2635d23be4 Mon Sep 17 00:00:00 2001 From: thsrite Date: Fri, 12 Apr 2024 16:38:24 +0800 Subject: [PATCH] fix form --- plugins/pluginautoupdate/__init__.py | 31 ++++++++++++---------------- 1 file changed, 13 insertions(+), 18 deletions(-) diff --git a/plugins/pluginautoupdate/__init__.py b/plugins/pluginautoupdate/__init__.py index a920d27..3c602d9 100644 --- a/plugins/pluginautoupdate/__init__.py +++ b/plugins/pluginautoupdate/__init__.py @@ -261,29 +261,24 @@ class PluginAutoUpdate(_PluginBase): ] }, { - 'component': 'VRow', + 'component': 'VCol', + 'props': { + 'cols': 12, + 'md': 6 + }, 'content': [ { - 'component': 'VCol', + 'component': 'VSelect', 'props': { - 'cols': 12, - 'md': 6 - }, - 'content': [ - { - 'component': 'VSelect', - 'props': { - 'multiple': False, - 'chips': True, - 'model': 'msgtype', - 'label': '消息类型', - 'items': MsgTypeOptions - } - } - ] + 'multiple': False, + 'chips': True, + 'model': 'msgtype', + 'label': '消息类型', + 'items': MsgTypeOptions + } } ] - }, + } ] }, {