diff --git a/dashboard/src/views/ExtensionPage.vue b/dashboard/src/views/ExtensionPage.vue index 6b5e05b8e..bc5eb0d58 100644 --- a/dashboard/src/views/ExtensionPage.vue +++ b/dashboard/src/views/ExtensionPage.vue @@ -18,20 +18,26 @@ import axios from 'axios'; - +

{{ extension.desc }}

mdi-account {{ extension.author }}
- 配置 - 更新 - 卸载 + 配置 + 更新 + 卸载
- 禁用 - 启用 + 禁用 + 启用
@@ -46,6 +52,11 @@ import axios from 'axios'; + + + + +

{{ plugin.desc }}

@@ -214,12 +225,19 @@ export default { title: "加载中...", statusCode: 0, // 0: loading, 1: success, 2: error, result: "" - } + }, + + announcement: "" } }, mounted() { this.getExtensions(); this.fetchPluginCollection(); + + axios.get('https://api.soulter.top/astrbot-announcement-plugin-market').then((res) => { + let data = res.data.data; + this.announcement = data.text; + }); }, methods: { toast(message, success) {