Commit 5eb990a73353dfbc5120d161dabb6984ded9e128

Authored by 简柏林
1 parent d5ea5dd5

提交配置文件

1 1 # port
2 2 VITE_PORT = 8083
3   -
  3 +VITE_GLOB_USE_MOCK = false
4 4 # spa-title
5 5 VITE_GLOB_APP_TITLE = ThingsKit
  6 +VITE_PROXY = [["/api","http://10.9.0.205:8080/api"],["/thingskit-scada","http://localhost:5173/thingskit-scada"],["/large-designer", "http://localhost:5555/large-designer/"]]
6 7
7 8 # spa shortname
8 9 # VITE_GLOB_APP_SHORT_NAME = Yunteng IOT
... ...
... ... @@ -8,10 +8,10 @@ VITE_GLOB_PUBLIC_PATH = /
8 8 # Please note that no line breaks
9 9
10 10 # 本地
11   -VITE_PROXY = [["/api","http://localhost:8080/api"],["/thingskit-scada","http://localhost:5173/thingskit-scada"],["/large-designer", "http://localhost:5555/large-designer/"]]
  11 +VITE_PROXY = [["/api","http://10.9.0.205:8080/api"],["/thingskit-scada","http://localhost:5173/thingskit-scada"],["/large-designer", "http://localhost:5555/large-designer/"]]
12 12
13 13 # 实时数据的ws地址
14   -VITE_GLOB_WEB_SOCKET = ws://localhost:8080/api/ws/plugins/telemetry?token=
  14 +VITE_GLOB_WEB_SOCKET = ws://10.9.0.205:8080/api/ws/plugins/telemetry?token=
15 15
16 16 # Delete console
17 17 VITE_GLOB_DROP_CONSOLE = true
... ...
... ... @@ -35,7 +35,7 @@ VITE_USE_PWA = false
35 35 VITE_LEGACY = true
36 36
37 37 # 实时数据的ws地址
38   -VITE_GLOB_WEB_SOCKET = ws://localhost:8080/api/ws/plugins/telemetry?token=
  38 +VITE_GLOB_WEB_SOCKET = ws://iot.qgutech.com/api/ws/plugins/telemetry?token=
39 39
40 40 #configuration
41 41 VITE_GLOB_CONFIGURATION = /thingskit-scada
... ...
1   -<div align="center"> <a href="https://github.com/anncwb/vue-vben-admin"> <img alt="VbenAdmin Logo" width="200" height="200" src="https://anncwb.github.io/anncwb/images/logo.png"> </a> <br> <br>
  1 + <div align="center"> <a href="https://github.com/anncwb/vue-vben-admin"> <img alt="VbenAdmin Logo" width="200" height="200" src="https://anncwb.github.io/anncwb/images/logo.png"> </a> <br> <br>
2 2
3 3 [![license](https://img.shields.io/github/license/anncwb/vue-vben-admin.svg)](LICENSE)
4 4
... ...
... ... @@ -11,7 +11,8 @@
11 11 "serve": "npm run dev",
12 12 "dev": "vite",
13 13 "build": "cross-env NODE_ENV=production vite build && esno ./build/script/postBuild.ts",
14   - "build:test": "cross-env vite build --mode test && esno ./build/script/postBuild.ts",
  14 + "build:test2": "cross-env NODE_ENV=test vite build && esno ./build/script/postBuild.ts",
  15 + "build:test": "cross-env vite build --mode test && esno ./build/script/postBuild.ts",
15 16 "build:no-cache": "yarn clean:cache && npm run build",
16 17 "report": "cross-env REPORT=true npm run build",
17 18 "type:check": "vue-tsc --noEmit --skipLibCheck",
... ... @@ -75,7 +76,7 @@
75 76 "vue": "3.3.4",
76 77 "vue-i18n": "9.1.7",
77 78 "vue-json-pretty": "^2.0.4",
78   - "vue-router": "^4.0.11",
  79 + "vue-router": "4.0.11",
79 80 "vue-types": "^4.0.3",
80 81 "vue3-grid-layout": "^1.0.0",
81 82 "xgplayer": "^3.0.14",
... ... @@ -104,7 +105,7 @@
104 105 "@types/qs": "^6.9.7",
105 106 "@types/sortablejs": "^1.10.7",
106 107 "@typescript-eslint/eslint-plugin": "^4.29.1",
107   - "@typescript-eslint/parser": "^4.29.1",
  108 + "@typescript-eslint/parser": "4.29.1",
108 109 "@vitejs/plugin-legacy": "^1.5.1",
109 110 "@vitejs/plugin-vue": "^1.4.0",
110 111 "@vitejs/plugin-vue-jsx": "^1.1.7",
... ...
... ... @@ -86,7 +86,7 @@ export const descSchema = (emit: EmitType): DescItem[] => {
86 86 },
87 87 },
88 88 {
89   - field: 'deviceInfo.sip.cameraCode',
  89 + field: 'sn',
90 90 label: t('deviceManagement.device.deviceCameraCodeText'),
91 91 },
92 92 {
... ...