mirror of
https://github.com/TriM-Organization/LiteyukiBot-TriM.git
synced 2024-11-24 16:15:03 +08:00
✨ 插件商店及资源商店新增搜索功能
This commit is contained in:
parent
01e6256ed4
commit
5d6ae52157
@ -18,7 +18,7 @@ let filteredItems = computed(() => {
|
|||||||
let items = ref([])
|
let items = ref([])
|
||||||
let search = ref('')
|
let search = ref('')
|
||||||
// 从官方拉取
|
// 从官方拉取
|
||||||
fetch("https://bot.liteyuki.icu/assets/plugins.json")
|
fetch("/assets/plugins.json")
|
||||||
.then(response => response.json())
|
.then(response => response.json())
|
||||||
.then(data => {
|
.then(data => {
|
||||||
items.value = data
|
items.value = data
|
||||||
|
@ -17,7 +17,7 @@ let filteredItems = computed(() => {
|
|||||||
// 插件商店Nonebot
|
// 插件商店Nonebot
|
||||||
let items = ref([])
|
let items = ref([])
|
||||||
let search = ref('')
|
let search = ref('')
|
||||||
fetch("https://bot.liteyuki.icu/assets/resources.json")
|
fetch("/assets/resources.json")
|
||||||
.then(response => response.json())
|
.then(response => response.json())
|
||||||
.then(data => {
|
.then(data => {
|
||||||
items.value = data
|
items.value = data
|
||||||
|
Loading…
Reference in New Issue
Block a user