1
0
forked from bot/app

插件商店及资源商店新增搜索功能

This commit is contained in:
2024-07-14 23:50:31 +08:00
parent dbc114a529
commit 01e6256ed4
3 changed files with 9 additions and 11 deletions

View File

@ -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')