v2.0.0-preview.2 - 增加单元和UI测试用例

This commit is contained in:
LINING-PC\lining
2025-12-17 18:09:55 +08:00
parent a59b5450dc
commit 017a7ba3b0
13 changed files with 1788 additions and 3 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ const props = defineProps<{ visible: boolean }>()
const versionList = ref<any[]>([])
onMounted(async () => {
const res = await fetch('./version-history.json')
const res = await fetch(new URL('./version-history.json', import.meta.url).href)
const data = await res.json()
// 按日期和版本号倒序排列
versionList.value = data.sort((a, b) => {