837390164@qq.com c0a77eac2e 提交更新 il y a 1 jour
..
docs a303233a09 提交更新 il y a 4 mois
public 32528e0e46 feat: 更新前端接口调用结构,添加 session 支持 il y a 5 mois
src c0a77eac2e 提交更新 il y a 1 jour
.env.development e673a19c43 提交更新 il y a 1 mois
.env.production 151ab2778b 提交更新 il y a 2 mois
.gitignore 32528e0e46 feat: 更新前端接口调用结构,添加 session 支持 il y a 5 mois
Caddyfile e673a19c43 提交更新 il y a 1 mois
DEPLOYMENT_CHECKLIST.md e673a19c43 提交更新 il y a 1 mois
DEPLOYMENT_GUIDE.md e673a19c43 提交更新 il y a 1 mois
NGINX_TROUBLESHOOTING.md e673a19c43 提交更新 il y a 1 mois
README.md 32528e0e46 feat: 更新前端接口调用结构,添加 session 支持 il y a 5 mois
dev.err e673a19c43 提交更新 il y a 1 mois
dist.rar c0a77eac2e 提交更新 il y a 1 jour
esbuild_err.txt c0a77eac2e 提交更新 il y a 1 jour
eslint.config.js 32528e0e46 feat: 更新前端接口调用结构,添加 session 支持 il y a 5 mois
index.html 084c51a83e feat: 自定义DRG分组查询功能完善与Bug修复 il y a 5 mois
nginx-simple.conf e673a19c43 提交更新 il y a 1 mois
nginx.conf b0e74290a0 提交更新 il y a 1 mois
package-lock.json 5acf3cb9d6 提交更新 il y a 3 mois
package.json 5acf3cb9d6 提交更新 il y a 3 mois
project.config.json 084c51a83e feat: 自定义DRG分组查询功能完善与Bug修复 il y a 5 mois
proxy-server.js e673a19c43 提交更新 il y a 1 mois
serve.js 084c51a83e feat: 自定义DRG分组查询功能完善与Bug修复 il y a 5 mois
server.js e673a19c43 提交更新 il y a 1 mois
tsc_check.txt c0a77eac2e 提交更新 il y a 1 jour
tsc_out.txt b411f0c405 提交更新 il y a 2 mois
tsconfig.app.json 084c51a83e feat: 自定义DRG分组查询功能完善与Bug修复 il y a 5 mois
tsconfig.json 32528e0e46 feat: 更新前端接口调用结构,添加 session 支持 il y a 5 mois
tsconfig.node.json 32528e0e46 feat: 更新前端接口调用结构,添加 session 支持 il y a 5 mois
vite.config.ts e673a19c43 提交更新 il y a 1 mois
启动开发服务器.bat 084c51a83e feat: 自定义DRG分组查询功能完善与Bug修复 il y a 5 mois
启动开发服务器.ps1 084c51a83e feat: 自定义DRG分组查询功能完善与Bug修复 il y a 5 mois
登录页面说明.md 084c51a83e feat: 自定义DRG分组查询功能完善与Bug修复 il y a 5 mois

README.md

React + TypeScript + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

React Compiler

The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see this documentation.

Expanding the ESLint configuration

If you are developing a production application, we recommend updating the configuration to enable type-aware lint rules:

export default defineConfig([
  globalIgnores(['dist']),
  {
    files: ['**/*.{ts,tsx}'],
    extends: [
      // Other configs...

      // Remove tseslint.configs.recommended and replace with this
      tseslint.configs.recommendedTypeChecked,
      // Alternatively, use this for stricter rules
      tseslint.configs.strictTypeChecked,
      // Optionally, add this for stylistic rules
      tseslint.configs.stylisticTypeChecked,

      // Other configs...
    ],
    languageOptions: {
      parserOptions: {
        project: ['./tsconfig.node.json', './tsconfig.app.json'],
        tsconfigRootDir: import.meta.dirname,
      },
      // other options...
    },
  },
])

You can also install eslint-plugin-react-x and eslint-plugin-react-dom for React-specific lint rules:

// eslint.config.js
import reactX from 'eslint-plugin-react-x'
import reactDom from 'eslint-plugin-react-dom'

export default defineConfig([
  globalIgnores(['dist']),
  {
    files: ['**/*.{ts,tsx}'],
    extends: [
      // Other configs...
      // Enable lint rules for React
      reactX.configs['recommended-typescript'],
      // Enable lint rules for React DOM
      reactDom.configs.recommended,
    ],
    languageOptions: {
      parserOptions: {
        project: ['./tsconfig.node.json', './tsconfig.app.json'],
        tsconfigRootDir: import.meta.dirname,
      },
      // other options...
    },
  },
])