1
0
forked from bot/app

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

This commit is contained in:
远野千束 2024-07-15 00:03:22 +08:00
parent 01e6256ed4
commit 5d6ae52157
2 changed files with 2 additions and 2 deletions

View File

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

View File

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