重构前端:迁移商品展示辅助方法

This commit is contained in:
yml
2026-05-25 01:27:56 +08:00
parent 3cf236def6
commit c5f99608d8
5 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ import {
hasGiftResources,
readAssetNumber,
readAssetString,
} from "./listingDisplay";
} from "@/utils/listingDisplay";
const route = useRoute();
const loading = ref(false);
@@ -21,7 +21,7 @@ import {
getServerRegion,
readAssetNumber,
readAssetString,
} from "./listingDisplay";
} from "@/utils/listingDisplay";
const route = useRoute();
const router = useRouter();
+1 -1
View File
@@ -32,7 +32,7 @@ import {
getServerRegion,
hasAcceleratedSaleRatio,
hasGiftResources,
} from "@/views/mobile/listingDisplay";
} from "@/utils/listingDisplay";
const loading = ref(false);
const listings = ref<Listing[]>([]);
+1 -1
View File
@@ -29,7 +29,7 @@ import {
hasGiftResources,
readAssetNumber,
readAssetString,
} from "@/views/mobile/listingDisplay";
} from "@/utils/listingDisplay";
import { listingStatusLabel } from "@/utils/statusLabels";
/* ------------------------------------------------------------------ */