diff --git a/public/static/images/liangfaliangqu.gif b/public/static/images/liangfaliangqu.gif new file mode 100644 index 0000000..82f7746 Binary files /dev/null and b/public/static/images/liangfaliangqu.gif differ diff --git a/public/static/images/liangfaliangquyibeng.gif b/public/static/images/liangfaliangquyibeng.gif new file mode 100644 index 0000000..664ffbf Binary files /dev/null and b/public/static/images/liangfaliangquyibeng.gif differ diff --git a/public/static/images/sanfasanqu.gif b/public/static/images/sanfasanqu.gif new file mode 100644 index 0000000..73d4586 Binary files /dev/null and b/public/static/images/sanfasanqu.gif differ diff --git a/public/static/images/sanfasanquyibeng.gif b/public/static/images/sanfasanquyibeng.gif new file mode 100644 index 0000000..46b18e4 Binary files /dev/null and b/public/static/images/sanfasanquyibeng.gif differ diff --git a/public/static/images/yifaliangqu.gif b/public/static/images/yifaliangqu.gif new file mode 100644 index 0000000..328519b Binary files /dev/null and b/public/static/images/yifaliangqu.gif differ diff --git a/public/static/images/yifaliangquyibeng.gif b/public/static/images/yifaliangquyibeng.gif new file mode 100644 index 0000000..89c263a Binary files /dev/null and b/public/static/images/yifaliangquyibeng.gif differ diff --git a/public/static/images/yifasanqu.gif b/public/static/images/yifasanqu.gif new file mode 100644 index 0000000..1fb9251 Binary files /dev/null and b/public/static/images/yifasanqu.gif differ diff --git a/public/static/images/yifayiqu.gif b/public/static/images/yifayiqu.gif new file mode 100644 index 0000000..9745ad2 Binary files /dev/null and b/public/static/images/yifayiqu.gif differ diff --git a/public/static/images/yifayiquyibeng.gif b/public/static/images/yifayiquyibeng.gif new file mode 100644 index 0000000..22c1d9f Binary files /dev/null and b/public/static/images/yifayiquyibeng.gif differ diff --git a/public/static/images/yifaysanquyibeng.gif b/public/static/images/yifaysanquyibeng.gif new file mode 100644 index 0000000..f2b8b71 Binary files /dev/null and b/public/static/images/yifaysanquyibeng.gif differ diff --git a/src/views/monitoring/screen/components/main.vue b/src/views/monitoring/screen/components/main.vue index 036f1df..e9586b7 100644 --- a/src/views/monitoring/screen/components/main.vue +++ b/src/views/monitoring/screen/components/main.vue @@ -210,8 +210,8 @@ const userInfo = JSON.parse(userStorageInfo === null ? '' : userStorageInfo); // const baseApi = "http://board.heatiot.cn:8001/prod-api"//websocket链接地址,与项目接口地址一致。 //const baseApi = import.meta.env.VITE_APP_BASE_API //const apiUrl = baseApi.replace(/https?:/, ''); -// const wsUrl = `ws://${window.location.host}/ws/websocket/${userInfo.userName}`; //websocket地址 -const wsUrl = `ws://10.10.10.56:9010/websocket/${userInfo.userName}`; //websocket地址 +const wsUrl = `ws://${window.location.host}/ws/websocket/${userInfo.userName}`; //websocket地址 +// const wsUrl = `ws://10.10.10.56:9010/websocket/${userInfo.userName}`; //websocket地址 const emit = defineEmits(['tableHeaderData']); // const listData = ref([ diff --git a/vite.config.ts b/vite.config.ts index 3848933..beadfdc 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -44,23 +44,14 @@ export default defineConfig(({ mode }: ConfigEnv): UserConfig => { force: false, //是否强制依赖预构建 hmr: true, //配置HMR proxy: { - '/dev-api': { - target: 'http://172.1.2.39:9010/', //本地接口地址 + [env.VITE_APP_BASE_API]: { + // target: 'http://172.1.2.39:9010/', //本地接口地址 // target: 'http://172.1.2.90:9010/', //本地接口地址 - // target: 'http://10.10.10.56:9010/', //线上测试接口地址 + target: 'http://10.10.10.56:9010/', //线上测试接口地址 changeOrigin: true, rewrite: path => path.replace(/^\/dev-api/, '') } } - // proxy: { - // [env.VITE_APP_BASE_API]: { - // // target: 'http://172.1.2.196:9010/', //本地接口地址 - // target: 'http://172.1.2.158:9010/', //本地接口地址 - // // target: 'http://10.10.10.56:9010/', //线上测试接口地址 - // changeOrigin: true, - // rewrite: path => path.replace(new RegExp('^' + env.VITE_APP_BASE_API), '') - // } - // } }, plugins: [ vue(),