Ant_Design_Pro ,React+Ts模板 ,修改了跳转其鉴权逻辑,添加接口请求加解密功能,修改了基本的登录/出 功能
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
dt_2916866708 c6de528d67 12 11 months ago
.husky 第一次上传 1 year ago
config 第一次上传 1 year ago
mock 第一次上传 1 year ago
public 第一次上传 1 year ago
src 12 11 months ago
tests 第一次上传 1 year ago
types 第一次上传 1 year ago
.editorconfig 第一次上传 1 year ago
.eslintignore 第一次上传 1 year ago
.eslintrc.js 第一次上传 1 year ago
.gitignore 第一次上传 1 year ago
.prettierignore 第一次上传 1 year ago
.prettierrc.js 第一次上传 1 year ago
README.md 1 1 year ago
jest.config.ts 第一次上传 1 year ago
jsconfig.json 第一次上传 1 year ago
package.json 第一次上传 1 year ago
pnpm-lock.yaml 第一次上传 1 year ago
tsconfig.json 第一次上传 1 year ago

README.md

基于 Ant Design Pro,React+Ts 模板 修改的后台管理模板

为适应后台服务器规则 修改了跳转其鉴权逻辑,新增接口请求加解密功能,动态路由功能看 app.tsx(入口文件) ;

基础配置 请看 .config文件 包含 代理文件 路由文件 默认配置文件;

请求拦截器请看 requestErrorConfig.ts ;

tip:用的太多太杂,改点底层逻辑还不让改 封装的还这么厉害。。。。。;

This project is initialized with Ant Design Pro. Follow is the quick guide for how to use.

Environment Prepare

Install node_modules:

npm install

or

yarn

Provided Scripts

Ant Design Pro provides some useful script to help you quick start and build with web project, code style check and test.

Scripts provided in package.json. It's safe to modify or add additional script:

Start project

npm start

Build project

npm run build

Check code style

npm run lint

You can also use script to auto fix some lint error:

npm run lint:fix

Test code

npm test

More

You can view full document on our official website. And welcome any feedback in our github.