csx 5 лет назад
Родитель
Сommit
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
   NODE_ENV: '"development"',
6
   NODE_ENV: '"development"',
7
   // BASE_API: '"https://api.xt.kuyicloud.com"'
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
    //http://api.xt.test.sgjyun.com http://localhost:9529
10
    //http://api.xt.test.sgjyun.com http://localhost:9529
11
    // BASE_API: '"http://api.xt.test.sgjyun.com"'
11
    // BASE_API: '"http://api.xt.test.sgjyun.com"'
12
   // BASE_API: '"https://api.xt.kuyicloud.com"'
12
   // BASE_API: '"https://api.xt.kuyicloud.com"'

+ 2 - 2
src/pages/main/index.vue Просмотреть файл

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

+ 1 - 1
src/utils/request.js Просмотреть файл

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