引入 husky,并全局重新格式化
This commit is contained in:
@@ -17,7 +17,6 @@ export async function login(props: {
|
||||
password: string
|
||||
remember: boolean
|
||||
}): Promise<ApiResponse> {
|
||||
|
||||
// 尝试登录
|
||||
const result = await callByDevice<TokenResp>('/api/auth/token', {
|
||||
...props,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
'use server'
|
||||
import { PageRecord} from '@/lib/api'
|
||||
import { callByUser } from '@/actions/base'
|
||||
import {PageRecord} from '@/lib/api'
|
||||
import {callByUser} from '@/actions/base'
|
||||
|
||||
type Whitelist = {
|
||||
id: number
|
||||
|
||||
Reference in New Issue
Block a user