Aucune description

lanjianrong 19d392f42e feat: 1 il y a 4 ans
config b3b19b3ac6 feat: 5.24提交 il y a 4 ans
public b334c33fe1 fix: 111 il y a 4 ans
src 19d392f42e feat: 1 il y a 4 ans
tests d90df6a785 首次提交 il y a 5 ans
.editorconfig d90df6a785 首次提交 il y a 5 ans
.eslintignore 625276973b fix: 修复打包报错信息 il y a 5 ans
.eslintrc.js 5a1a06641e feat: eslint增加react版本配置 il y a 4 ans
.gitignore 070fd6e334 fix: 更新依赖 il y a 4 ans
.prettierignore 39752023b2 feat: PermMenu组件更新Menu写法 il y a 4 ans
.prettierrc.js 509425b56c fix: 修复锁库无线滚动bug il y a 4 ans
.stylelintrc.js b3aaa87393 fix: fix stylelint plugin not work in pnpm install il y a 4 ans
README.md f60f8f5e7b refactor: 优化BasicTable性能,增加必要说明文档 il y a 4 ans
jest.config.js d90df6a785 首次提交 il y a 5 ans
jsconfig.json d90df6a785 首次提交 il y a 5 ans
package.json ad625eed98 feat: 5.26 commit il y a 4 ans
tsconfig.json f03f2e058a feat:增加tsconfig il y a 5 ans
windi.config.ts f5ecea0913 feat: 云版详情、大司空2.0企业版详情中左侧栏附加项的ui界面 il y a 4 ans

README.md

安装依赖

pnpm install

启动项目

npm run dev

更新远程分支列表

git remote update origin --prune

查看所有分支

git branch -a

删除远程分支 xx

git push origin --delete xx

删除本地分支 xx

git branch -d xx

强制合并分支

git reset --hard dev //并将 master 分支重置为 dev

强制推送

git push origin master --force //将重置后的 master 分支强制推送更新

开发注意:

  1. 尽量使用typescript进行开发,包括使用tsx(定义其组件prop类型)。
  2. 新增路由页面:
    1. 要使用PageContainer包裹并将title、breadcrumb置为false(不需要渲染标题以及面包屑),水印配置视具体页面调整(默认配置查看app.tsx中的layout配置)。
    2. locales/zh-CH/menu.js要加上对应国际化配置。
  3. 本项目使用@umijs/plugin-dva整合数据流进行全局状态管理, 详见