1
0
forked from bot/app

🔥 小型重构

This commit is contained in:
2024-06-26 13:52:04 +08:00
parent 35823be13e
commit 8b01943d14
268 changed files with 25225 additions and 24996 deletions

View File

@ -1,6 +1,6 @@
<script setup lang="ts">
import {ref} from 'vue'
import ItemCard from './plugin_item_card.vue'
import ItemCard from './PluginItemCard.vue'
// Nonebot
let items = ref([])

View File

@ -1,10 +1,10 @@
<script setup lang="ts">
import {ref} from 'vue'
import ItemCard from './res_item_card.vue'
import ItemCard from './ResItemCard.vue'
// public/assets/resources.json
let items = ref([])
fetch('https://bot.liteyuki.icu/assets/resources.json')
fetch('/assets/resources.json')
.then(response => response.json())
.then(data => {
items.value = data