Skip to content

Commit 3c8a4ce

Browse files
committed
look v1.6.1 update log
1 parent b03d2d7 commit 3c8a4ce

22 files changed

+42
-920
lines changed

.env.build

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
VITE_APP_ENV = 'prod'
22
#自动获取地址推荐
3-
#VITE_APP_BASE_URL = '/micro-service-api'
4-
VITE_APP_BASE_URL = 'http://8.135.1.141/micro-service-api'
5-
VITE_APP_BASE_WS_URL = ''
3+
VITE_APP_BASE_URL = 'https://github.jzfai.top/micro-service-api'
64

75
#image or oss address
8-
VITE_APP_IMAGE_URL = 'http://8.135.1.141:8080'
6+
VITE_APP_IMAGE_URL = 'https://github.jzfai.top/gofast-image'

.env.build-test

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
VITE_APP_ENV = 'test'
22
#自动获取地址推荐
33
#VITE_APP_BASE_URL = '/micro-service-api'
4-
VITE_APP_BASE_URL = 'http://8.135.1.141/micro-service-api'
4+
VITE_APP_BASE_URL = 'https://github.jzfai.top/micro-service-api'
55
VITE_APP_BASE_WS_URL = ''
66

77
#image or oss address
8-
VITE_APP_IMAGE_URL = 'http://8.135.1.141:8080'
8+
VITE_APP_IMAGE_URL = 'https://github.jzfai.top/gofast-image'

.env.serve-dev

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
#The defined variable must start with VITE_APP_
22
VITE_APP_ENV = 'dev'
3-
VITE_APP_BASE_URL = 'http://8.135.1.141/micro-service-api'
3+
VITE_APP_BASE_URL = 'https://github.jzfai.top/micro-service-api'
44

55
#image or oss address
6-
VITE_APP_IMAGE_URL = 'http://8.135.1.141:8080'
6+
VITE_APP_IMAGE_URL = 'https://github.jzfai.top/gofast-image'
77

88
#proxy, use this to test proxy
99
#VITE_APP_BASE_URL = '/api'
10-
#VITE_APP_PROXY_URL = 'http://8.135.1.141/micro-service-api'
10+
#VITE_APP_PROXY_URL = 'https://github.jzfai.top/micro-service-api'

.env.serve-test

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
#The defined variable must start with VITE_APP_
22
VITE_APP_ENV = 'test'
3-
VITE_APP_BASE_URL = 'http://8.135.1.141/micro-service-api'
3+
VITE_APP_BASE_URL = 'https://github.jzfai.top/micro-service-api'
44

55
#image or oss address
6-
VITE_APP_IMAGE_URL = 'http://8.135.1.141:8080'
6+
VITE_APP_IMAGE_URL = 'https://github.jzfai.top/gofast-image'
77

88
#proxy, use this to test proxy
99
#VITE_APP_BASE_URL = '/api'
10-
#VITE_APP_PROXY_URL = 'http://8.135.1.141/micro-service-api'
10+
#VITE_APP_PROXY_URL = 'https://github.jzfai.top/micro-service-api'

README-zh_CN.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,20 +28,20 @@ Vite 需要 Node.js 版本 >= 12.0.0。
2828

2929
[github address](https://github.com/jzfai/vue3-admin-template.git)
3030

31-
[Access address](http://8.135.1.141/vue3-admin-template)
31+
[Access address](https://github.jzfai.top/vue3-admin-template)
3232

3333
github 地址: https://github.com/jzfai/vue3-admin-template.git
3434

35-
国内体验地址:http://8.135.1.141/vue3-admin-template
35+
国内体验地址:https://github.jzfai.top/vue3-admin-template
3636

3737

3838
## 例子
3939

4040
---- 我们先看看加载速度和构建后的包大小:
4141

42-
![template-speed-analysis](http://8.135.1.141/file/images/template-speed-analysis.png)
42+
![template-speed-analysis](https://github.jzfai.top/file/images/template-speed-analysis.png)
4343

44-
![template-demo](http://8.135.1.141/file/images/template-demo.png)
44+
![template-demo](https://github.jzfai.top/file/images/template-demo.png)
4545

4646
## 相关项目
4747

@@ -83,7 +83,7 @@ cd vue3-admin-template
8383

8484
# pnpm address https://pnpm.io/zh/motivation
8585
# 安装依赖(建议用pnpm)
86-
# 你可以使用 "npm -g i pnpm" 去安装pnpm
86+
# 你可以使用 "npm -g i pnpm@6.32.3" 去安装pnpm
8787
pnpm i
8888

8989
# 启动服务
@@ -201,7 +201,7 @@ Modern browsers and Internet Explorer 11+.
201201
|Edge| last 2 versions| last 2 versions| last 2 versions
202202

203203
## 讨论和交流(含vue3+ts视频教程)
204-
[WeChat group](http://8.135.1.141/file/images/wx-groud.png)
204+
[WeChat group](https://github.jzfai.top/file/images/wx-groud.png)
205205

206206
## 版本
207207

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,19 @@ Vite need Node.js >= 12.0.0。
2121

2222
[github address](https://github.com/jzfai/vue3-admin-template.git)
2323

24-
[Access address](http://8.135.1.141/vue3-admin-template)
24+
[Access address](https://github.jzfai.top/vue3-admin-template)
2525

26-
国内体验地址:http://8.135.1.141/vue3-admin-template
26+
国内体验地址:https://github.jzfai.top/vue3-admin-template
2727

2828
github 地址: https://github.com/jzfai/vue3-admin-template.git
2929

3030
## Demo
3131

3232
---- Let's look at the loading speed and the size of the built package first.:
3333

34-
![template-speed-analysis](http://8.135.1.141/file/images/template-speed-analysis.png)
34+
![template-speed-analysis](https://github.jzfai.top/file/images/template-speed-analysis.png)
3535

36-
![template-demo](http://8.135.1.141/file/images/plus-demo.png)
36+
![template-demo](https://github.jzfai.top/file/images/plus-demo.png)
3737

3838
## Related items
3939

@@ -120,7 +120,7 @@ Modern browsers and Internet Explorer 11+.
120120
|Edge| last 2 versions| last 2 versions| last 2 versions
121121

122122
## Discussion and Communication
123-
[WeChat group](http://8.135.1.141/file/images/wx-groud.png)
123+
[WeChat group](https://github.jzfai.top/file/images/wx-groud.png)
124124

125125
## License
126126

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"name": "vue3-admin-template",
3-
"version": "1.6.0",
3+
"version": "1.6.1",
44
"license": "ISC",
5-
"packageManager": "pnpm@6.32.3",
65
"author": "kuanghua(869653722@qq.com)",
6+
"packageManager": "pnpm@6.32.3",
77
"scripts": {
88
"preinstall": "npx only-allow pnpm",
99
"dev": "vite --mode serve-dev --host",
@@ -22,19 +22,19 @@
2222
"vue": "^3.2.26"
2323
},
2424
"dependencies": {
25-
"@element-plus/icons-vue": "1.1.4",
25+
"@element-plus/icons-vue": "2.0.4",
2626
"js-error-collection": "^1.0.7",
2727
"axios": "0.21.3",
2828
"echarts": "5.3.2",
29-
"element-plus": "2.1.9",
29+
"element-plus": "2.2.5",
3030
"mitt": "3.0.0",
3131
"moment-mini": "2.22.1",
3232
"nprogress": "0.2.0",
3333
"path": "0.12.7",
3434
"path-to-regexp": "6.2.0",
35-
"pinia": "2.0.13",
35+
"pinia": "2.0.14",
3636
"tinymce": "4.9.11",
37-
"vue": "3.2.36",
37+
"vue": "3.2.37",
3838
"vue-router": "4.0.14"
3939
},
4040
"devDependencies": {
@@ -62,7 +62,7 @@
6262
"typescript": "4.5.4",
6363
"unplugin-auto-import": "^0.5.11",
6464
"unplugin-vue-components": "^0.17.14",
65-
"vite": "2.9.9",
65+
"vite": "2.9.12",
6666
"vite-plugin-html": "^3.2.0",
6767
"vite-plugin-mock": "^2.9.6",
6868
"vite-plugin-style-import": "1.2.1",
@@ -91,6 +91,6 @@
9191
"not op_mini all"
9292
],
9393
"engines": {
94-
"node": ">= 12"
94+
"node": ">= 14<18"
9595
}
9696
}

src/layout/components/Sidebar/Sidebar.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,12 @@ import { useAppStore } from '@/store/app'
6060
import { usePermissionStore } from '@/store/permission'
6161
const scssJson = dillScssExportToJson(scssExportJson)
6262
const activeMenu = computed(() => {
63-
const { meta, fullPath } = route
63+
const { meta, path } = route
6464
// if set path, the sidebar will highlight the path you set
6565
if (meta.activeMenu) {
6666
return meta.activeMenu
6767
}
68-
return fullPath
68+
return path
6969
})
7070
</script>
7171

src/router/index.js

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -42,19 +42,6 @@ export const constantRoutes = [
4242
}
4343
]
4444
},
45-
{
46-
path: '/generation-code',
47-
component: Layout,
48-
redirect: '/dashboard',
49-
children: [
50-
{
51-
path: 'index',
52-
name: 'CodeGenerator',
53-
component: () => import('@/views/code-generator'),
54-
meta: { title: 'CodeGenerator', elSvgIcon: 'Fold' }
55-
}
56-
]
57-
},
5845
{
5946
path: '/setting-switch',
6047
component: Layout,

src/settings.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ const setting = {
8686
* vite.config.js base config
8787
* such as
8888
* */
89-
viteBasePath: '/vue3-admin-template/'
89+
viteBasePath: './'
9090
}
9191

9292
export default setting

0 commit comments

Comments
 (0)