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
- 选择要使用的协议。
-
-
-
+
+
+ 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 @@
-
-
-
+
+ 此插件已被加载,但并非是在配置文件中。你无法修改其配置。
+
-
- 此插件已被加载,但并非是在配置文件中。你无法修改其配置。
+
+ 此插件未声明配置项,这可能并非预期行为{{ hint }}。
+
+ {{ hint }}
+
@@ -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)