diff --git a/plugins/frontend/components/client/form/form.vue b/plugins/frontend/components/client/form/form.vue index 4453648e05..a366be694f 100644 --- a/plugins/frontend/components/client/form/form.vue +++ b/plugins/frontend/components/client/form/form.vue @@ -1,15 +1,12 @@ diff --git a/plugins/frontend/manager/client/bots/settings.vue b/plugins/frontend/manager/client/bots/settings.vue index 4819313f88..1b23556283 100644 --- a/plugins/frontend/manager/client/bots/settings.vue +++ b/plugins/frontend/manager/client/bots/settings.vue @@ -11,18 +11,16 @@ - - + + +

adapter

+

选择要使用的适配器。

+
+ +

protocol

+

选择要使用的协议。

+
+
diff --git a/plugins/frontend/manager/client/settings/settings.vue b/plugins/frontend/manager/client/settings/settings.vue index deaaab98b4..ebf9f5142b 100644 --- a/plugins/frontend/manager/client/settings/settings.vue +++ b/plugins/frontend/manager/client/settings/settings.vue @@ -55,13 +55,16 @@ - + + 此插件已被加载,但并非是在配置文件中。你无法修改其配置。 + @@ -80,6 +83,7 @@ const props = defineProps<{ const data = computed(() => getMixedMeta(props.current)) const env = computed(() => envMap.value[props.current]) +const hint = computed(() => data.value.workspace ? ',请检查源代码' : ',请联系插件作者') const version = ref('') diff --git a/plugins/frontend/manager/client/settings/utils.ts b/plugins/frontend/manager/client/settings/utils.ts index b34cf0c937..58a887f9f8 100644 --- a/plugins/frontend/manager/client/settings/utils.ts +++ b/plugins/frontend/manager/client/settings/utils.ts @@ -57,9 +57,15 @@ function getEnvInfo(name: string) { } } - // check implementations const data = getMixedMeta(name) const result: EnvInfo = { impl: [], using: {}, deps: {} } + + // nested plugins + if (!data.root && data.id) { + result.invalid = true + } + + // check implementations for (const name of getKeywords('impl', data)) { if (name === 'adapter') continue result.impl.push(name)