强化前端格式检测

This commit is contained in:
yml2213
2026-06-08 06:46:47 +08:00
parent 500f511185
commit 04f42e5a96
23 changed files with 17 additions and 64 deletions
@@ -45,7 +45,6 @@ const {
loadingMore,
listings,
totalListings,
zoneCounts,
hasMoreListings,
loadListingsPage,
zoneCount,
@@ -28,7 +28,6 @@ import {
getOnlineTimeText,
getLoginMethod,
getServerRegion,
readAssetNumber,
readAssetString,
} from '@/utils/listingDisplay'
@@ -1,5 +1,5 @@
<script setup lang="ts">
import { computed, onMounted, reactive, ref } from 'vue'
import { computed, onMounted, ref } from 'vue'
import {
emptyListingPublishOptions,
@@ -30,7 +30,6 @@ import {
readAssetNumber,
readAssetString,
} from '@/utils/listingDisplay'
import { listingStatusLabel } from '@/utils/statusLabels'
/* ------------------------------------------------------------------ */
/* 数据加载 */
@@ -256,12 +256,6 @@ function readError(error: unknown, fallback: string) {
}
return fallback
}
/** 判断当前底部导航是否激活 */
function isNavActive(path: string) {
if (path === '/m') return route.path === '/m'
return route.path.startsWith(path)
}
</script>
<template>