-
Notifications
You must be signed in to change notification settings - Fork 127
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
白唯
committed
Oct 17, 2020
1 parent
366d49c
commit 066d2be
Showing
13 changed files
with
807 additions
and
551 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,14 @@ | ||
import { RootStateType } from '@/store/state' | ||
import { AppStateType } from '@/store/modules/app/state' | ||
import { createStore } from 'vuex' | ||
|
||
export declare interface StoreInstance extends ReturnType<typeof createStore> { | ||
__s?: (type: string, val: any) => any | ||
__g?: (type: string, val: any) => any | ||
} | ||
|
||
// vuex模块的类型 | ||
type ModuleType = { app: AppStateType } | ||
|
||
// 所有的StateType | ||
export type StateType = ModuleType & RootStateType & StoreInstance | ||
|
||
/** http请求响应格式 */ | ||
export declare interface ApiResponse { | ||
errCode: number | ||
errMsg?: string | ||
data?: any | ||
} | ||
import { AppStateType } from '@/store/modules/app/state' | ||
|
||
// vuex模块的类型 | ||
type ModuleType = { app: AppStateType } | ||
|
||
// 所有的StateType | ||
export type StateType = ModuleType | ||
|
||
/** http请求响应格式 */ | ||
export declare interface ApiResponse { | ||
errCode: number | ||
errMsg?: string | ||
data?: any | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,87 +1,117 @@ | ||
## [0.1.7](https://github.com/ibwei/vue3-base/compare/v0.1.8...v0.1.7) (2020-09-29) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* **less:** 更新 less 版本,兼容 antdv ([1f9c248](https://github.com/ibwei/vue3-base/commit/1f9c2488fa35fc4e8fe52229db48ca1f53813fb1)) | ||
* **readme.md:** 修改项目说明文档 ([0065d42](https://github.com/ibwei/vue3-base/commit/0065d420b18ee3ddc13396b1436faee090806a16)) | ||
* **types:** 更改部分 type 说明 ([89b0a19](https://github.com/ibwei/vue3-base/commit/89b0a193629576f49146d968460658c66e8e1895)) | ||
* **vue3:** 更新到 vue3 正式版并修复错误 ([074b83a](https://github.com/ibwei/vue3-base/commit/074b83a8db7ed1f68d6fb4faf0f04302743a02c5)) | ||
|
||
|
||
### Features | ||
|
||
* **i18n:** 主要增加了国际化方案 ([7affdf8](https://github.com/ibwei/vue3-base/commit/7affdf821bf934e4fc364ab89bb9731475987141)) | ||
* **vuex:** 添加了 vuex 打印日志服务 ([badae42](https://github.com/ibwei/vue3-base/commit/badae42d9561fc155a45b152f496e2ca955a5532)) | ||
* **测试:** 添加测试例子,完善vuex的类型 ([b833160](https://github.com/ibwei/vue3-base/commit/b833160194808b4fd04aa0dbca1223449c7d1e88)) | ||
|
||
|
||
### Performance Improvements | ||
|
||
* **插件:** 插件更新为自动化加载 ([e0d39c4](https://github.com/ibwei/vue3-base/commit/e0d39c43c81c21d50c250a9d833d9d012ff7a55b)) | ||
|
||
|
||
|
||
## [0.1.6](https://github.com/ibwei/vue3-base/compare/v0.1.8...v0.1.6) (2020-09-17) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* **readme.md:** 修改项目说明文档 ([0065d42](https://github.com/ibwei/vue3-base/commit/0065d420b18ee3ddc13396b1436faee090806a16)) | ||
|
||
|
||
### Features | ||
|
||
* **测试:** 添加测试例子,完善vuex的类型 ([b833160](https://github.com/ibwei/vue3-base/commit/b833160194808b4fd04aa0dbca1223449c7d1e88)) | ||
|
||
|
||
|
||
## 0.1.5 (2020-09-09) | ||
|
||
### Bug Fixes | ||
|
||
- **修复提交工具:** 更改 git-cz 配置文件 ([372391f](https://github.com/ibwei/vue3-base/commit/372391f79e177c685277409ad873cd963c756ee3)) | ||
|
||
### Features | ||
|
||
- **基础代码架构:** 项目基础代码初始化,目前只有 vue 全家桶 ([d4e8514](https://github.com/ibwei/vue3-base/commit/d4e851421b72b7f2ff273d8ebc72c08919b94392)) | ||
- **完善 type:** 将第三方库的类型添加到每一个 vue 组件实例中去 ([13b84ab](https://github.com/ibwei/vue3-base/commit/13b84ab084ee388e114618db31ab801d28143bdf)) | ||
- **补全基础代码:** 更换 types 位置,增加 layout 文件,修复 docs 文档,修改 tsconfig 配置等 ([d56645f](https://github.com/ibwei/vue3-base/commit/d56645fcf33959bcf57453690201be3cdd55620c)) | ||
- **项目搭建:** 初步完成除了 UI 库以外的基础配置 ([f3da208](https://github.com/ibwei/vue3-base/commit/f3da208fa7bcd9141c829327cf949aaf486a0ce7)) | ||
|
||
## 0.1.4 (2020-09-05) | ||
|
||
### Bug Fixes | ||
|
||
- **修复提交工具:** 更改 git-cz 配置文件 ([372391f](https://github.com/ibwei/vue3-base/commit/372391f79e177c685277409ad873cd963c756ee3)) | ||
|
||
### Features | ||
|
||
- **基础代码架构:** 项目基础代码初始化,目前只有 vue 全家桶 ([d4e8514](https://github.com/ibwei/vue3-base/commit/d4e851421b72b7f2ff273d8ebc72c08919b94392)) | ||
- **完善 type:** 将第三方库的类型添加到每一个 vue 组件实例中去 ([13b84ab](https://github.com/ibwei/vue3-base/commit/13b84ab084ee388e114618db31ab801d28143bdf)) | ||
- **项目搭建:** 初步完成除了 UI 库以外的基础配置 ([f3da208](https://github.com/ibwei/vue3-base/commit/f3da208fa7bcd9141c829327cf949aaf486a0ce7)) | ||
|
||
## 0.1.3 (2020-09-04) | ||
|
||
### Bug Fixes | ||
|
||
- **修复提交工具:** 更改 git-cz 配置文件 372391f | ||
|
||
### Features | ||
|
||
- **基础代码架构:** 项目基础代码初始化,目前只有 vue 全家桶 d4e8514 | ||
- **项目搭建:** 初步完成除了 UI 库以外的基础配置 f3da208 | ||
|
||
## 0.1.2 (2020-09-03) | ||
|
||
### Features | ||
|
||
- **基础代码架构:** 项目基础代码初始化,目前只有 vue 全家桶 d4e8514 | ||
- **项目搭建:** 初步完成除了 UI 库以外的基础配置 f3da208 | ||
|
||
## 0.1.1 (2020-09-03) | ||
|
||
### Features | ||
|
||
- **基础代码架构:** 项目基础代码初始化,目前只有 vue 全家桶 d4e8514 | ||
- **项目搭建:** 初步完成除了 UI 库以外的基础配置 f3da208 | ||
## [0.1.9](https://github.com/ibwei/vue3-base/compare/v0.1.8...v0.1.9) (2020-10-17) | ||
|
||
|
||
### Bug Fixes | ||
* **iconfont:** 更改引入 iconfont 方式 ([e11f13c](https://github.com/ibwei/vue3-base/commit/e11f13cde660fa9c255616e7fd2978c32abdc178)) | ||
* **less:** 更新 less 版本,兼容 antdv ([1f9c248](https://github.com/ibwei/vue3-base/commit/1f9c2488fa35fc4e8fe52229db48ca1f53813fb1)) | ||
* **readme.md:** 修改项目说明文档 ([0065d42](https://github.com/ibwei/vue3-base/commit/0065d420b18ee3ddc13396b1436faee090806a16)) | ||
* **types:** 更改部分 type 说明 ([89b0a19](https://github.com/ibwei/vue3-base/commit/89b0a193629576f49146d968460658c66e8e1895)) | ||
* **vue3:** 更新到 vue3 正式版并修复错误 ([074b83a](https://github.com/ibwei/vue3-base/commit/074b83a8db7ed1f68d6fb4faf0f04302743a02c5)) | ||
* **修复 ci/cd:** 修复 ([b078729](https://github.com/ibwei/vue3-base/commit/b078729d502d3d050b184fd02d8c42a9782f0182)) | ||
* **关闭 prettier检查:** 关闭 ([c8b5d4f](https://github.com/ibwei/vue3-base/commit/c8b5d4fb8192b6e78d560a47cbd4630612b283a1)) | ||
* **编辑器配置:** 更新vscode 编辑器配置 ([8858aee](https://github.com/ibwei/vue3-base/commit/8858aeebb60214cab5c740bd96a7f1c433fb93dd)) | ||
|
||
|
||
### Features | ||
|
||
* **ci/cd:** ci/cd ([2228fcc](https://github.com/ibwei/vue3-base/commit/2228fccb48d0aed7e3a0aee4d374d20a5c1bdc95)) | ||
* **i18n:** 主要增加了国际化方案 ([7affdf8](https://github.com/ibwei/vue3-base/commit/7affdf821bf934e4fc364ab89bb9731475987141)) | ||
* **layout 编写:** 完成 layout 编写,实现全屏切换方式 ([366d49c](https://github.com/ibwei/vue3-base/commit/366d49c9af6427b5a6ba11cd09df28e161457ec4)) | ||
* **vuex:** 添加了 vuex 打印日志服务 ([badae42](https://github.com/ibwei/vue3-base/commit/badae42d9561fc155a45b152f496e2ca955a5532)) | ||
* **完成 ci/cd配置:** 完成 CI/CD ([262d1b2](https://github.com/ibwei/vue3-base/commit/262d1b24a4c1c50824832f02619600cd03fa6c25)) | ||
* **测试:** 添加测试例子,完善vuex的类型 ([b833160](https://github.com/ibwei/vue3-base/commit/b833160194808b4fd04aa0dbca1223449c7d1e88)) | ||
|
||
|
||
### Performance Improvements | ||
|
||
* **插件:** 插件更新为自动化加载 ([e0d39c4](https://github.com/ibwei/vue3-base/commit/e0d39c43c81c21d50c250a9d833d9d012ff7a55b)) | ||
|
||
|
||
|
||
## [0.1.7](https://github.com/ibwei/vue3-base/compare/v0.1.8...v0.1.7) (2020-09-29) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* **less:** 更新 less 版本,兼容 antdv ([1f9c248](https://github.com/ibwei/vue3-base/commit/1f9c2488fa35fc4e8fe52229db48ca1f53813fb1)) | ||
* **readme.md:** 修改项目说明文档 ([0065d42](https://github.com/ibwei/vue3-base/commit/0065d420b18ee3ddc13396b1436faee090806a16)) | ||
* **types:** 更改部分 type 说明 ([89b0a19](https://github.com/ibwei/vue3-base/commit/89b0a193629576f49146d968460658c66e8e1895)) | ||
* **vue3:** 更新到 vue3 正式版并修复错误 ([074b83a](https://github.com/ibwei/vue3-base/commit/074b83a8db7ed1f68d6fb4faf0f04302743a02c5)) | ||
|
||
|
||
### Features | ||
|
||
* **i18n:** 主要增加了国际化方案 ([7affdf8](https://github.com/ibwei/vue3-base/commit/7affdf821bf934e4fc364ab89bb9731475987141)) | ||
* **vuex:** 添加了 vuex 打印日志服务 ([badae42](https://github.com/ibwei/vue3-base/commit/badae42d9561fc155a45b152f496e2ca955a5532)) | ||
* **测试:** 添加测试例子,完善vuex的类型 ([b833160](https://github.com/ibwei/vue3-base/commit/b833160194808b4fd04aa0dbca1223449c7d1e88)) | ||
|
||
|
||
### Performance Improvements | ||
|
||
* **插件:** 插件更新为自动化加载 ([e0d39c4](https://github.com/ibwei/vue3-base/commit/e0d39c43c81c21d50c250a9d833d9d012ff7a55b)) | ||
|
||
|
||
|
||
## [0.1.6](https://github.com/ibwei/vue3-base/compare/v0.1.8...v0.1.6) (2020-09-17) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* **readme.md:** 修改项目说明文档 ([0065d42](https://github.com/ibwei/vue3-base/commit/0065d420b18ee3ddc13396b1436faee090806a16)) | ||
|
||
|
||
### Features | ||
|
||
* **测试:** 添加测试例子,完善vuex的类型 ([b833160](https://github.com/ibwei/vue3-base/commit/b833160194808b4fd04aa0dbca1223449c7d1e88)) | ||
|
||
|
||
|
||
## 0.1.5 (2020-09-09) | ||
|
||
### Bug Fixes | ||
|
||
- **修复提交工具:** 更改 git-cz 配置文件 ([372391f](https://github.com/ibwei/vue3-base/commit/372391f79e177c685277409ad873cd963c756ee3)) | ||
|
||
### Features | ||
|
||
- **基础代码架构:** 项目基础代码初始化,目前只有 vue 全家桶 ([d4e8514](https://github.com/ibwei/vue3-base/commit/d4e851421b72b7f2ff273d8ebc72c08919b94392)) | ||
- **完善 type:** 将第三方库的类型添加到每一个 vue 组件实例中去 ([13b84ab](https://github.com/ibwei/vue3-base/commit/13b84ab084ee388e114618db31ab801d28143bdf)) | ||
- **补全基础代码:** 更换 types 位置,增加 layout 文件,修复 docs 文档,修改 tsconfig 配置等 ([d56645f](https://github.com/ibwei/vue3-base/commit/d56645fcf33959bcf57453690201be3cdd55620c)) | ||
- **项目搭建:** 初步完成除了 UI 库以外的基础配置 ([f3da208](https://github.com/ibwei/vue3-base/commit/f3da208fa7bcd9141c829327cf949aaf486a0ce7)) | ||
|
||
## 0.1.4 (2020-09-05) | ||
|
||
### Bug Fixes | ||
|
||
- **修复提交工具:** 更改 git-cz 配置文件 ([372391f](https://github.com/ibwei/vue3-base/commit/372391f79e177c685277409ad873cd963c756ee3)) | ||
|
||
### Features | ||
|
||
- **基础代码架构:** 项目基础代码初始化,目前只有 vue 全家桶 ([d4e8514](https://github.com/ibwei/vue3-base/commit/d4e851421b72b7f2ff273d8ebc72c08919b94392)) | ||
- **完善 type:** 将第三方库的类型添加到每一个 vue 组件实例中去 ([13b84ab](https://github.com/ibwei/vue3-base/commit/13b84ab084ee388e114618db31ab801d28143bdf)) | ||
- **项目搭建:** 初步完成除了 UI 库以外的基础配置 ([f3da208](https://github.com/ibwei/vue3-base/commit/f3da208fa7bcd9141c829327cf949aaf486a0ce7)) | ||
|
||
## 0.1.3 (2020-09-04) | ||
|
||
### Bug Fixes | ||
|
||
- **修复提交工具:** 更改 git-cz 配置文件 372391f | ||
|
||
### Features | ||
|
||
- **基础代码架构:** 项目基础代码初始化,目前只有 vue 全家桶 d4e8514 | ||
- **项目搭建:** 初步完成除了 UI 库以外的基础配置 f3da208 | ||
|
||
## 0.1.2 (2020-09-03) | ||
|
||
### Features | ||
|
||
- **基础代码架构:** 项目基础代码初始化,目前只有 vue 全家桶 d4e8514 | ||
- **项目搭建:** 初步完成除了 UI 库以外的基础配置 f3da208 | ||
|
||
## 0.1.1 (2020-09-03) | ||
|
||
### Features | ||
|
||
- **基础代码架构:** 项目基础代码初始化,目前只有 vue 全家桶 d4e8514 | ||
- **项目搭建:** 初步完成除了 UI 库以外的基础配置 f3da208 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.