Your Name 6 vuotta sitten
commit
cab142d2c1
2 muutettua tiedostoa jossa 3 lisäystä ja 3 poistoa
  1. 1
    1
      src/views/goodsManager/GoodsType.vue
  2. 2
    2
      vue.config.js

+ 1
- 1
src/views/goodsManager/GoodsType.vue Näytä tiedosto

@@ -151,7 +151,7 @@ export default {
151 151
       const newData = !this.typeDetail.typeId
152 152
       const api = newData ? this.saveGoodType : this.updateGoodType
153 153
 
154
-      api(this.typeDetail).then((data) => {
154
+      api(this.typeDetail).then(() => {
155 155
         // if (newData) {
156 156
         //   this.currentList = this.currentList.concat(data)
157 157
         // } else {

+ 2
- 2
vue.config.js Näytä tiedosto

@@ -3,14 +3,14 @@ module.exports = {
3 3
   devServer: {
4 4
     proxy: {
5 5
       '/api': {
6
-        target: 'http://192.168.0.11:8080',
6
+        target: 'http://127.0.0.1:8080',
7 7
         changeOrigin: true,
8 8
         pathRewrite: {
9 9
           '^/api': '/'
10 10
         },
11 11
       },
12 12
       '/api/websocket': {
13
-        target: 'http://192.168.0.11:8080',
13
+        target: 'http://127.0.0.1:8080',
14 14
         changeOrigin: true,
15 15
         ws: true,
16 16
         pathRewrite: {