Browse Source

项目合并处理

IoT
fuguobin 8 months ago
parent
commit
9064ec48dc
  1. 1
      package.json
  2. 2
      src/views/monitoring/data-monitor/components/main.vue
  3. 1
      vite.config.js

1
package.json

@ -3,7 +3,6 @@
"version": "1.0.0",
"description": "IoT管理系统",
"author": "联美",
"license": "MIT",
"scripts": {
"dev": "vite",
"build:prod": "vite build",

2
src/views/monitoring/data-monitor/components/main.vue

@ -153,7 +153,7 @@ import {
import { TableVo } from "@/api/monitoring/table/types";
import useTableStore from "@/store/modules/table";
import mitt from "@/plugins/bus";
import socket from "@/utils/socket";
// import socket from "@/utils/socket";
import useStorage from "@/utils/useStorage";
import useUserStore from "@/store/modules/user";
// import { useDateFormat } from '@vueuse/core';

1
vite.config.js

@ -36,7 +36,6 @@ export default defineConfig(({ mode, command }) => {
hmr: true, //配置HMR
proxy: {
"/dev-api": {
// target: 'http://172.1.2.76:9010/', //本地接口地址
// target: 'http://172.1.2.90:9010/', //本地接口地址
target: "http://10.10.10.56:9010/", //线上测试接口地址
changeOrigin: true,

Loading…
Cancel
Save