Skip to content

Commit 7273baa

Browse files
committed
Chore: release 1.2.13
1 parent 6ab3c98 commit 7273baa

41 files changed

Lines changed: 1775 additions & 1541 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# 更新日志
22

3+
## v 1.2.13
4+
5+
- 路由缓存配置相关
6+
- 升级依赖
7+
38
## v 1.2.12
49

510
- WebSocket简单包装类

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ vue + vuex + vue router + TypeScript(支持 JavaScript) 模板
3131

3232
## 环境要求
3333

34-
- `Node.js`: v12 ([fibers](https://github.com/laverdet/node-fibers#supported-platforms) v4.0.2 不支持 Node v13)
34+
- `Node.js`: >= v12
3535
- `yarn`: 最新
3636

3737
### 建议开发环境
@@ -171,6 +171,7 @@ yarn vue-cli-service help # [命令] : 比如 yarn vue-cli-service help test:e2e
171171
│ │── api # http通信
172172
│ │── assets # 静态资源文件目录, 使用到的会被解析处理(比如图片等)
173173
│ │── components # 从views/pages提取的复用组件(建文件夹分类, 未分类的基本就是基础组件了)
174+
│ │── functions # 从views/pages提取的复用逻辑(建文件夹分类, 未分类的基本就是公用逻辑了)
174175
│ │── config # 配置目录
175176
│ │── enum # 枚举目录
176177
│ │── lang # 多语言目录
@@ -181,7 +182,7 @@ yarn vue-cli-service help # [命令] : 比如 yarn vue-cli-service help test:e2e
181182
│ │── store # 状态管理
182183
│ │ └── modules # 各模块状态管理
183184
│ │── types # ts 接口/申明文件
184-
│ │── utils # 工具集(一般为幂等函数/单例对象/Class)
185+
│ │── utils # 工具集(业务无关, 一般为幂等函数/单例对象/Class...)
185186
│ │── views # 视图
186187
│ │── pages # 【可选】多页时页面的存储目录
187188
│ │── html模板名 # 【可选】存放页面代码目录
@@ -827,6 +828,5 @@ http {
827828
### 其他
828829
829830
- 期待 [vue3.0](https://github.com/vuejs/vue/projects/6) & [webpack 5.0](https://github.com/webpack/webpack/projects/5) [正式版](https://github.com/webpack/changelog-v5/blob/master/README.md)
830-
- [fibers](https://github.com/laverdet/node-fibers#supported-platforms) v4.0.2 **不支持 Node v13**
831831
- `crypto-js` v4 **不支持 IE10**
832832
- `TypeScript`(3.8.2) `const enum` 编译为内联代码(`inline code`)的支持有限, 尽量使用常量成员, 然后等[更新](https://github.com/microsoft/TypeScript)吧

build/production.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ module.exports = function(config, ENV, pages) {
240240
chunks: 'all',
241241
priority: 66,
242242
reuseExistingChunk: true,
243-
test: /[\\/]node_modules[\\/]echarts[\\/]/,
243+
test: /[\\/]node_modules[\\/]echarts(?:-.+)?[\\/]/,
244244
},
245245
// d3.js
246246
d3: {

package.json

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vue-tpl",
3-
"version": "1.2.12",
3+
"version": "1.2.13",
44
"private": false,
55
"description": "vue + vuex + vue router + TypeScript(支持 JavaScript) 模板",
66
"author": "毛瑞 <Maorey@Foxmail.com>",
@@ -17,23 +17,24 @@
1717
"crypto-js": "3.3.0",
1818
"d3": "^5.16.0",
1919
"echarts": "^4.7.0",
20+
"echarts-liquidfill": "^2.0.5",
2021
"element-ui": "^2.13.1",
2122
"jsencrypt": "^3.0.0-rc.1",
2223
"luma.gl": "^7.3.2",
2324
"normalize.css": "^8.0.1",
2425
"nprogress": "^0.2.0",
25-
"pixi.js": "^5.2.2",
26-
"pixi.js-legacy": "^5.2.2",
26+
"pixi.js": "^5.2.3",
27+
"pixi.js-legacy": "^5.2.3",
2728
"register-service-worker": "^1.7.1",
2829
"three": "^0.115.0",
2930
"vue": "^2.6.11",
3031
"vue-class-component": "^7.2.3",
31-
"vue-i18n": "^8.17.3",
32-
"vue-property-decorator": "^8.4.1",
32+
"vue-i18n": "^8.17.4",
33+
"vue-property-decorator": "^8.4.2",
3334
"vue-router": "^3.1.6",
34-
"vuex": "^3.2.0",
35+
"vuex": "^3.3.0",
3536
"vuex-class": "^0.3.2",
36-
"vuex-module-decorators": "^0.16.1",
37+
"vuex-module-decorators": "^0.17.0",
3738
"zdog": "^1.1.2",
3839
"zrender": "^4.3.0"
3940
},
@@ -42,12 +43,12 @@
4243
"@babel/plugin-proposal-export-namespace-from": "^7.8.3",
4344
"@babel/plugin-proposal-function-sent": "^7.8.3",
4445
"@babel/plugin-proposal-private-methods": "^7.8.3",
45-
"@types/crypto-js": "3.1.44",
46+
"@types/crypto-js": "3.1.45",
4647
"@types/d3": "^5.7.2",
47-
"@types/echarts": "^4.4.6",
48+
"@types/echarts": "^4.6.0",
4849
"@types/jest": "^25.2.1",
49-
"@typescript-eslint/eslint-plugin": "^2.29.0",
50-
"@typescript-eslint/parser": "^2.29.0",
50+
"@typescript-eslint/eslint-plugin": "^2.30.0",
51+
"@typescript-eslint/parser": "^2.30.0",
5152
"@vue/cli-plugin-babel": "~4.3.1",
5253
"@vue/cli-plugin-e2e-cypress": "~4.3.1",
5354
"@vue/cli-plugin-eslint": "~4.3.1",
@@ -68,14 +69,14 @@
6869
"eslint-plugin-promise": "^4.2.1",
6970
"eslint-plugin-standard": "^4.0.1",
7071
"eslint-plugin-vue": "^6.2.2",
71-
"fibers": "^4.0.2",
72+
"fibers": "^5.0.0",
7273
"hard-source-webpack-plugin": "^0.13.1",
73-
"lint-staged": "^10.1.7",
74+
"lint-staged": "^10.2.0",
7475
"postcss-preset-env": "^6.7.0",
7576
"regenerate": "^1.4.0",
7677
"regjsgen": "^0.5.1",
7778
"regjsparser": "^0.6.4",
78-
"sass": "^1.26.3",
79+
"sass": "^1.26.5",
7980
"sass-loader": "^8.0.2",
8081
"stylelint": "^13.3.3",
8182
"stylelint-config-scss-maorey": "^1.1.1",

src/api/user.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import { setHEAD, get, post } from '@/utils/ajax'
77
import { local } from '@/utils/storage'
88
import CONFIG from '@/config'
9-
import API from '@/config/api/user'
9+
import { user as API } from '@/enum/api'
1010

1111
// 加密算法(token + RSA 加密)
1212
import Jsencrypt from 'jsencrypt'

0 commit comments

Comments
 (0)