代码格式化: prettier --write 统一代码风格
39 个文件按 .prettierrc.json (printWidth 100 / no semi / singleQuote) 统一格式, 纯空白与换行调整, 无逻辑变更。为接入代码门禁做准备, 让 npm run check (format:check + lint:strict + typecheck) 干净通过。
This commit is contained in:
@@ -2,13 +2,7 @@
|
||||
* API 性能监控
|
||||
* 记录和分析 API 请求性能
|
||||
*/
|
||||
import {
|
||||
debugGroup,
|
||||
debugGroupEnd,
|
||||
debugLog,
|
||||
debugTable,
|
||||
debugWarn,
|
||||
} from '@/shared/utils/debug'
|
||||
import { debugGroup, debugGroupEnd, debugLog, debugTable, debugWarn } from '@/shared/utils/debug'
|
||||
|
||||
interface RequestMetrics {
|
||||
url: string
|
||||
|
||||
@@ -59,7 +59,6 @@ export function useSmsCountdown() {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
return {
|
||||
countDown,
|
||||
sending,
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
type DebugConsole = Pick<
|
||||
Console,
|
||||
'log' | 'warn' | 'error' | 'group' | 'groupEnd' | 'table'
|
||||
>
|
||||
type DebugConsole = Pick<Console, 'log' | 'warn' | 'error' | 'group' | 'groupEnd' | 'table'>
|
||||
|
||||
function runInDev(method: keyof DebugConsole, args: unknown[]) {
|
||||
if (!import.meta.env.DEV) return
|
||||
|
||||
Reference in New Issue
Block a user