- 添加 .editorconfig、.eslintrc 和 .gitignore 配置文件 - 添加管理员文章管理页面配置和实现 - 添加医生申请、银行卡、客户管理页面配置和实现 - 添加用户地址和聊天消息页面配置 - 实现文章新增编辑功能,包括表单验证和图片上传 - 实现医生注册功能,包含头像上传和手机号获取 - 实现银行卡管理功能,支持默认地址设置 - 实现客户报备功能,包含7天保护期逻辑 - 实现在线开方页面配置 - 修复页面标题和样式配置问题
43 lines
1.1 KiB
JSON
43 lines
1.1 KiB
JSON
{
|
|
"compilerOptions": {
|
|
"target": "es2018",
|
|
"module": "esnext",
|
|
"lib": ["es2018", "dom", "dom.iterable"],
|
|
"removeComments": false,
|
|
"preserveConstEnums": true,
|
|
"moduleResolution": "node",
|
|
"experimentalDecorators": true,
|
|
"strict": true,
|
|
"noImplicitAny": true,
|
|
"allowSyntheticDefaultImports": true,
|
|
"esModuleInterop": true,
|
|
"outDir": "lib",
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"strictNullChecks": true,
|
|
"sourceMap": true,
|
|
"baseUrl": ".",
|
|
"rootDir": ".",
|
|
"jsx": "react-jsx",
|
|
"allowJs": true,
|
|
"resolveJsonModule": true,
|
|
"typeRoots": [
|
|
"node_modules/@types",
|
|
"types"
|
|
],
|
|
"paths": {
|
|
"@/*": ["./src/*"],
|
|
"@/components/*": ["./src/components/*"],
|
|
"@/utils/*": ["./src/utils/*"],
|
|
"@/assets/*": ["./src/assets/*"],
|
|
"@/api/*": ["./src/api/*"],
|
|
"@/hooks/*": ["./src/hooks/*"],
|
|
"@/config/*": ["./config/*"],
|
|
"@/types/*": ["./types/*"]
|
|
},
|
|
"skipLibCheck": true
|
|
},
|
|
"include": ["./src", "./types"],
|
|
"compileOnSave": false
|
|
}
|