diff --git a/docs/.vuepress/components/PluginStore.vue b/docs/.vuepress/components/PluginStore.vue index 991b4f6..d2593f0 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 d7ce8b6..475dc2e 100644 --- a/docs/.vuepress/components/ResStore.vue +++ b/docs/.vuepress/components/ResStore.vue @@ -1,6 +1,7 @@