mirror of
https://gitee.com/spark-store-project/spark-store
synced 2026-04-26 09:20:18 +08:00
fix:通过E2E测试
This commit is contained in:
@@ -368,8 +368,10 @@ const closeScreenPreview = () => {
|
||||
};
|
||||
|
||||
// Home data
|
||||
const homeLinks = ref<any[]>([]);
|
||||
const homeLists = ref<Array<{ title: string; apps: any[] }>>([]);
|
||||
const homeLinks = ref<Record<string, unknown>[]>([]);
|
||||
const homeLists = ref<
|
||||
Array<{ title: string; apps: Record<string, unknown>[] }>
|
||||
>([]);
|
||||
const homeLoading = ref(false);
|
||||
const homeError = ref("");
|
||||
|
||||
@@ -405,7 +407,7 @@ const loadHome = async () => {
|
||||
const appsJson = await r.json();
|
||||
const rawApps = appsJson || [];
|
||||
const apps = await Promise.all(
|
||||
rawApps.map(async (a: any) => {
|
||||
rawApps.map(async (a: Record<string, unknown>) => {
|
||||
const baseApp = {
|
||||
name: a.Name || a.name || a.Pkgname || a.PkgName || "",
|
||||
pkgname: a.Pkgname || a.pkgname || "",
|
||||
|
||||
Reference in New Issue
Block a user