From 01e6256ed4a02313d7e5a8f0ee3b7967c5fabc96 Mon Sep 17 00:00:00 2001 From: snowy Date: Sun, 14 Jul 2024 23:50:31 +0800 Subject: [PATCH] =?UTF-8?q?:sparkles:=20=E6=8F=92=E4=BB=B6=E5=95=86?= =?UTF-8?q?=E5=BA=97=E5=8F=8A=E8=B5=84=E6=BA=90=E5=95=86=E5=BA=97=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=E6=90=9C=E7=B4=A2=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/.vuepress/components/PluginStore.vue | 11 ++++++----- docs/.vuepress/components/ResStore.vue | 7 ++----- docs/.vuepress/theme.js | 2 +- 3 files changed, 9 insertions(+), 11 deletions(-) diff --git a/docs/.vuepress/components/PluginStore.vue b/docs/.vuepress/components/PluginStore.vue index 991b4f6e..d2593f09 100644 --- a/docs/.vuepress/components/PluginStore.vue +++ b/docs/.vuepress/components/PluginStore.vue @@ -18,11 +18,12 @@ let filteredItems = computed(() => { let items = ref([]) let search = ref('') // 从官方拉取 -fetch('assets/plugins.json') - .then(response => response.json()) - .then(data => { - items.value = data - }) +fetch("https://bot.liteyuki.icu/assets/plugins.json") + .then(response => response.json()) + .then(data => { + items.value = data + }) + .catch(error => console.error(error)) //追加 fetch('https://registry.nonebot.dev/plugins.json') diff --git a/docs/.vuepress/components/ResStore.vue b/docs/.vuepress/components/ResStore.vue index d7ce8b6c..475dc2e2 100644 --- a/docs/.vuepress/components/ResStore.vue +++ b/docs/.vuepress/components/ResStore.vue @@ -1,6 +1,7 @@