csx преди 5 години
родител
ревизия
c4e3d388e0
променени са 3 файла, в които са добавени 4 реда и са изтрити 4 реда
  1. 1 1
      config/dev.env.js
  2. 2 2
      src/pages/main/index.vue
  3. 1 1
      src/utils/request.js

+ 1 - 1
config/dev.env.js Целия файл

@@ -6,7 +6,7 @@ module.exports = merge(prodEnv, {
6 6
   NODE_ENV: '"development"',
7 7
   // BASE_API: '"https://api.xt.kuyicloud.com"'
8 8
 
9
-  BASE_API: '"http://api.xt.test.sgjyun.com"'
9
+  BASE_API: '"http://localhost:9529"'
10 10
    //http://api.xt.test.sgjyun.com http://localhost:9529
11 11
    // BASE_API: '"http://api.xt.test.sgjyun.com"'
12 12
   // BASE_API: '"https://api.xt.kuyicloud.com"'

+ 2 - 2
src/pages/main/index.vue Целия файл

@@ -82,7 +82,7 @@ export default {
82 82
           return [item.groupno]
83 83
         })
84 84
         this.unReadWaitNum = sorted.length
85
-      } 
85
+      }
86 86
       // else {
87 87
       //   var date = parseTime(Date.parse(new Date()), '{y}-{m}-{d}')
88 88
       //   getWaitingScheduals({ date: date }).then(rs => {
@@ -139,7 +139,7 @@ export default {
139 139
         })
140 140
 
141 141
         this.unReadDialysisNum = sorted.length
142
-      } 
142
+      }
143 143
       // else {
144 144
       //   var date = this.$store.getters.app.dialysis_area.schedule_date
145 145
       //   var type = 0

+ 1 - 1
src/utils/request.js Целия файл

@@ -26,7 +26,7 @@ service.interceptors.response.use(
26 26
         //     location.reload() // 为了重新实例化vue-router对象 避免bug
27 27
         //   })
28 28
         // })
29
-        location.reload()
29
+        // location.reload()
30 30
         return Promise.reject('error')
31 31
       } else {
32 32
         return response