qinzhipeng_v 5 жил өмнө
parent
commit
450482ec7e

+ 3 - 3
src/utils/request.js

@@ -128,9 +128,9 @@ service.interceptors.response.use(
         type: 'warning',
         duration: 5 * 1000
       })
-      // if (location.href.indexOf('localhost') < 0) {
-      //   location.href = 'http://10.179.209.19:8899/'
-      // }
+      if (location.href.indexOf('localhost') < 0) {
+        location.href = 'http://10.179.209.19:8899/'
+      }
     }
     return Promise.reject(error)
   }

+ 2 - 2
src/views/Platform/Workbench/TeamWorkbench.vue

@@ -18,7 +18,7 @@ export default {
           title: '郑美双:前端计划',
           start: '2019-12-01',
           end: '2019-12-05',
-          cssClass: 'family',
+          cssClass: 'red',
           YOUR_DATA: { shan: '你好' }
         },
         {
@@ -77,7 +77,7 @@ export default {
     align-items: center;
   }
   .red {
-  background: red;
+  background-color: red;
 }
 .blue {
   background: blue;