Browse Source

去掉debugger

zhaojijng 2 năm trước cách đây
mục cha
commit
4adbfdbca8
2 tập tin đã thay đổi với 2 bổ sung3 xóa
  1. 2 2
      config/proxy.ts
  2. 0 1
      src/pages/Equipment/components/topNavRight/index.tsx

+ 2 - 2
config/proxy.ts

@@ -10,8 +10,8 @@ export default {
   dev: {
     // localhost:8000/api/** -> https://preview.pro.ant.design/api/**
     '/sgadmin/duoduo-service': {
-      target: 'https://duoduoenv.sagacloud.cn/',
-      //   target: 'http://10.100.28.79',
+      //target: 'https://duoduoenv.sagacloud.cn/',
+      target: 'http://10.100.28.79',
       changeOrigin: true,
       pathRewrite: {
         '^/sgadmin/duoduo-service': '/sgadmin/duoduo-service',

+ 0 - 1
src/pages/Equipment/components/topNavRight/index.tsx

@@ -116,7 +116,6 @@ const TopNavRight: React.FC<topNavRightProps> = ({
 
         //如果是空调
         if (selNavObj.id == 'airConditioner') {
-          debugger;
           changeAllAir(filterSpaceArr, getDeviceStatus, '关闭', projectId);
         }
         if (selNavObj.id == 'light') {