diff --git a/dashboard/src/components/shared/AstrBotConfig.vue b/dashboard/src/components/shared/AstrBotConfig.vue index 6ace849ef..38d3f3c27 100644 --- a/dashboard/src/components/shared/AstrBotConfig.vue +++ b/dashboard/src/components/shared/AstrBotConfig.vue @@ -1,130 +1,135 @@ - - \ No newline at end of file + removeItem(index) { + this.items.splice(index, 1); + }, + }, +}; + + + \ No newline at end of file diff --git a/dashboard/src/views/ConfigPage.vue b/dashboard/src/views/ConfigPage.vue index 48b866c0f..d7f0f4ecb 100644 --- a/dashboard/src/views/ConfigPage.vue +++ b/dashboard/src/views/ConfigPage.vue @@ -30,73 +30,79 @@ import config from '@/config'; - + {{ metadata[key]['name'] }} - - - -

{{metadata[key]['metadata'][key2]['description']}}

-
- - - - 😄 消息平台适配器和服务提供商的配置已经迁移至更方便的独立页面!推荐前往左栏配置哦~ - +
+ +
+ + + + {{ item[metadata[key]['metadata'][key2]?.tmpl_display_title] }} + + + {{ item.id }}({{ item.type }}) + + + + + + {{ index }} + + + + + + + + + 删除这项 + + + + + + + +
+ +
+ +
+ + +
+ + +
+ +
- - - {{ item[metadata[key]['metadata'][key2]?.tmpl_display_title] }} - - - {{ item.id }}({{ item.type }}) - - - - - - {{ index }} - - - - - - - - - 删除这项 - - - - - -
- - - - - -
-
- 不了解配置?请见 官方文档 + 不了解配置?请见 官方文档加群询问