chore(frontend): 接入 ESLint、Prettier 与 Vitest 质量门禁

This commit is contained in:
yml2213
2026-11-01 20:54:45 +08:00
parent 7f6ebddd5e
commit 6056afa436
150 changed files with 3895 additions and 1349 deletions
@@ -1,6 +1,15 @@
import { useState } from 'react'
import { useQuery } from '@tanstack/react-query'
import { Button, Empty, ErrorBlock, Popup, PullToRefresh, SearchBar, Skeleton, Tag } from 'antd-mobile'
import {
Button,
Empty,
ErrorBlock,
Popup,
PullToRefresh,
SearchBar,
Skeleton,
Tag,
} from 'antd-mobile'
import { DownOutline, RightOutline, SearchOutline } from 'antd-mobile-icons'
import { Link } from 'react-router-dom'
@@ -322,7 +331,12 @@ export function MobileHomePage() {
<Popup
visible={filterOpen}
onMaskClick={() => setFilterOpen(false)}
bodyStyle={{ height: '72vh', overflowY: 'auto', borderTopLeftRadius: 16, borderTopRightRadius: 16 }}
bodyStyle={{
height: '72vh',
overflowY: 'auto',
borderTopLeftRadius: 16,
borderTopRightRadius: 16,
}}
>
<div className="mobile-filter-sheet">
<div className="mobile-filter-sheet__head">