From 86d4a207eef8daf01c6336e8aaedf3aebb90e7a7 Mon Sep 17 00:00:00 2001 From: Soybean <2570172956@qq.com> Date: Thu, 9 Sep 2021 00:08:09 +0800 Subject: [PATCH] =?UTF-8?q?feat(projects):=20=E5=9B=9B=E7=A7=8D=E5=9F=BA?= =?UTF-8?q?=E6=9C=AC=E5=B8=83=E5=B1=80=E5=AE=8C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- doc/提交规范.md | 140 ------------------ src/AppProvider.vue | 8 +- src/interface/theme.ts | 2 + .../components/GlobalFooter/index.vue | 10 ++ .../components/GlobalHeader/index.vue | 63 ++++++-- .../components/GlobalSider/index.vue | 52 +++++++ .../components/PageFunc/index.vue | 25 +++- .../index.vue => common/GlobalLogo.vue} | 5 +- .../index.vue => common/GlobalMenu.vue} | 4 +- .../BasicLayout/components/common/index.ts | 4 + src/layouts/BasicLayout/components/index.ts | 6 +- src/layouts/BasicLayout/index.vue | 71 +++------ src/service/request/config.ts | 2 - src/service/request/index.ts | 4 +- src/service/utils/index.ts | 2 + src/settings/{theme/index.ts => theme.ts} | 5 +- src/store/modules/theme/index.ts | 10 ++ src/styles/css/global.css | 2 - src/views/home/index.vue | 3 +- windi.config.ts | 1 + 20 files changed, 203 insertions(+), 216 deletions(-) delete mode 100644 doc/提交规范.md create mode 100644 src/layouts/BasicLayout/components/GlobalFooter/index.vue create mode 100644 src/layouts/BasicLayout/components/GlobalSider/index.vue rename src/layouts/BasicLayout/components/{GlobalLogo/index.vue => common/GlobalLogo.vue} (71%) rename src/layouts/BasicLayout/components/{GlobalMenu/index.vue => common/GlobalMenu.vue} (50%) create mode 100644 src/layouts/BasicLayout/components/common/index.ts delete mode 100644 src/service/request/config.ts rename src/settings/{theme/index.ts => theme.ts} (92%) diff --git a/doc/提交规范.md b/doc/提交规范.md deleted file mode 100644 index 964fe28c..00000000 --- a/doc/提交规范.md +++ /dev/null @@ -1,140 +0,0 @@ -提交规范 -前面我们已经统一代码规范,并且在提交代码时进行强约束来保证仓库代码质量。多人协作的项目中,在提交代码这个环节,也存在一种情况:不能保证每个人对提交信息的准确描述,因此会出现提交信息紊乱、风格不一致的情况。 -如果 git commit 的描述信息精准,在后期维护和 Bug 处理时会变得有据可查,项目开发周期内还可以根据规范的提交信息快速生成开发日志,从而方便我们追踪项目和把控进度。 -这里,我们使用社区最流行、最知名、最受认可的 Angular 团队提交规范。 - -commit message 格式规范 -commit message 由 Header、Body、Footer 组成。 -
- - - -