From 417013af128bfb2cc4e2862231dafaed62a4a61d Mon Sep 17 00:00:00 2001 From: zicla Date: Tue, 2 Jan 2018 15:48:35 +0800 Subject: [PATCH] Fix the issue when administrator upload file for user. --- config/index.js | 4 +- src/backyard/matter/List.vue | 149 +++++++++++++++++++---------------- 2 files changed, 81 insertions(+), 72 deletions(-) diff --git a/config/index.js b/config/index.js index 7c1d7a7..9a01733 100644 --- a/config/index.js +++ b/config/index.js @@ -33,8 +33,8 @@ module.exports = { assetsPublicPath: '/', proxyTable: { '/api': { - target: 'http://tank.eyeblue.cn', - //target: 'http://localhost:6010', + //target: 'http://tank.eyeblue.cn', + target: 'http://localhost:6010', changeOrigin: true, pathRewrite: { '^/api': '/api' diff --git a/src/backyard/matter/List.vue b/src/backyard/matter/List.vue index ad3d313..c7aa59e 100644 --- a/src/backyard/matter/List.vue +++ b/src/backyard/matter/List.vue @@ -1,34 +1,34 @@