refactor: 更换 ESLint 配置为 @antfu/eslint-config

This commit is contained in:
2024-05-10 22:29:45 +08:00
parent 5101dd12d9
commit bfc8e42bad
148 changed files with 7314 additions and 5046 deletions

View File

@@ -1,2 +1,2 @@
/** 省市区数据类型 */
export type MockAreaItem = { label: string; code: string; children?: MockAreaItem[] }
export type MockAreaItem = { label: string, code: string, children?: MockAreaItem[] }

View File

@@ -1,6 +1,6 @@
import { defineMock } from '../_base'
import { resultSuccess, getDelayTime } from '../_utils'
import { findTree } from 'xe-utils'
import { defineMock } from '../_base'
import { getDelayTime, resultSuccess } from '../_utils'
import areaData from '../_data/area'
export default defineMock([