@yyp92-cli/template-vue-pc 1.4.0 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @yyp92-cli/template-vue-pc
2
2
 
3
+ ## 2.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 更改包
8
+
9
+ ## 2.0.0
10
+
11
+ ### Major Changes
12
+
13
+ - pc 模板更新
14
+
3
15
  ## 1.4.0
4
16
 
5
17
  ### Minor Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yyp92-cli/template-vue-pc",
3
- "version": "1.4.0",
3
+ "version": "2.1.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -1,2 +1,2 @@
1
1
  NODE_ENV = 'production'
2
- VITE_APP_BASE_API = 'http://codercba.com:5000'
2
+ VITE_APP_BASE_API = ''
@@ -1,2 +1,2 @@
1
1
  NODE_ENV = 'test'
2
- VITE_APP_BASE_API = 'http://123.207.32.32:5000'
2
+ VITE_APP_BASE_API = ''
@@ -9,7 +9,15 @@ pnpm dev
9
9
 
10
10
 
11
11
  ## 登录用户账号
12
- coderwhy 123456
12
+ admin 123456
13
+
14
+
15
+
16
+
17
+ ## 技术栈
18
+ - Vue3
19
+ - element-plus v2
20
+ - pinia v3
13
21
 
14
22
 
15
23
 
@@ -1,6 +1,5 @@
1
1
  {
2
- "name": "<%= projectName %>",
3
- "description": "脚手架创建的 <%= projectName %> 项目",
2
+ "name": "vite-vue3-pc-template",
4
3
  "private": true,
5
4
  "version": "0.0.0",
6
5
  "type": "module",
@@ -1,5 +1,5 @@
1
1
  export const loginData = {
2
2
  "id": 1,
3
- "name": "coderwhy",
3
+ "name": "admin1",
4
4
  "token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwibmFtZSI6ImNvZGVyd2h5Iiwicm9sZSI6eyJpZCI6MSwibmFtZSI6Iui2hee6p-euoeeQhuWRmCJ9LCJpYXQiOjE3NTQ1NTM2MDgsImV4cCI6MTc1NzE0NTYwOH0.mN_-Rob5Wz0TZ7Q95Ak9SVetGragcAH_xLnIBE1n4OE2ZjwPqldYfJLp8GGwJYkZBYXx-W8LaNSvB3WID3XaOECCykg0bdo-4q6Lktnf8_qPUCgt3QMzF2XNorNSsZXhmTL3-yoXF8ywYvDOaEl2tQC4YHI2E3UKxkj3Ss1oeWI"
5
5
  }
@@ -1,7 +1,7 @@
1
1
  export const userInfoMock = {
2
2
  "id": 1,
3
- "name": "coderwhy",
4
- "realname": "coderwhy",
3
+ "name": "admin1",
4
+ "realname": "admin1",
5
5
  "cellphone": 18812345678,
6
6
  "enable": 1,
7
7
  "createAt": "2021-01-02T10:20:26.000Z",
@@ -19,6 +19,6 @@ export const userInfoMock = {
19
19
  "parentId": null,
20
20
  "createAt": "2021-01-02T10:03:09.000Z",
21
21
  "updateAt": "2021-01-05T08:25:46.000Z",
22
- "leader": "coderwhy"
22
+ "leader": "admin1"
23
23
  }
24
24
  }
@@ -48,4 +48,14 @@
48
48
 
49
49
  // 大屏主题
50
50
  --screen-text-color: #29fcff;
51
+
52
+
53
+
54
+ // 组件库的修改
55
+ // .el-button {
56
+ // --el-button-bg-color: var(--bg-white-color) !important;
57
+ // }
58
+ // .el-button--primary {
59
+ // --el-button-bg-color: var(--primary-color);
60
+ // }
51
61
  }
@@ -50,4 +50,14 @@
50
50
 
51
51
  // 大屏主题
52
52
  --screen-text-color: #29fcff;
53
+
54
+
55
+
56
+ // 组件库的修改
57
+ // .el-button {
58
+ // --el-button-bg-color: var(--bg-white-color);
59
+ // }
60
+ // .el-button--primary {
61
+ // --el-button-bg-color: var(--primary-color);
62
+ // }
53
63
  }
@@ -14,7 +14,7 @@ export default defineConfig({
14
14
  server: {
15
15
  proxy: {
16
16
  '/api': {
17
- target: 'http://123.207.32.32:5000',
17
+ target: '',
18
18
  changeOrigin: true,
19
19
  rewrite: (path) => path.replace(/^\/api/, '')
20
20
  }