From 79bf73f54489851b30a6b9832d1e13576c6a10df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8C=E5=88=BA=E8=9E=88?= Date: Wed, 4 Dec 2024 18:11:12 +0800 Subject: [PATCH] feat: refactor image and APK data handling; replace mirror.data with mirror.load and update related components --- docs/.vitepress/components/ApkTable.vue | 13 +- .../data/{apk.data.ts => apk.load.ts} | 21 +- docs/.vitepress/data/fetch.ts | 19 + docs/.vitepress/data/mirror.data.ts | 12 - docs/.vitepress/data/mirror.load.ts | 8 + docs/.vitepress/utils/img.ts | 2 +- docs/guide/faq.md | 22 +- docs/guide/index.md | 8 +- docs/vite.config.ts | 9 +- package.json | 25 +- pnpm-lock.yaml | 598 ++++++++++-------- 11 files changed, 419 insertions(+), 318 deletions(-) rename docs/.vitepress/data/{apk.data.ts => apk.load.ts} (65%) create mode 100644 docs/.vitepress/data/fetch.ts delete mode 100644 docs/.vitepress/data/mirror.data.ts create mode 100644 docs/.vitepress/data/mirror.load.ts diff --git a/docs/.vitepress/components/ApkTable.vue b/docs/.vitepress/components/ApkTable.vue index f081b15..9902f9f 100644 --- a/docs/.vitepress/components/ApkTable.vue +++ b/docs/.vitepress/components/ApkTable.vue @@ -1,6 +1,6 @@