From 61be5baacf938c700d3eeee9f81bc70cea34160e Mon Sep 17 00:00:00 2001 From: jmal Date: Fri, 14 Feb 2020 10:57:48 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=87=E4=BB=B6=E8=AE=BF=E9=97=AE=E5=9C=B0?= =?UTF-8?q?=E5=9D=80=E7=BB=9F=E4=B8=80=E5=8A=A0=E5=88=B0proxy?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 2 +- .env.production | 2 +- src/views/home/index.vue | 11 +++-------- vue.config.js | 8 ++++++++ 4 files changed, 13 insertions(+), 10 deletions(-) diff --git a/.env.development b/.env.development index 7e9b9d1..7e0bdcd 100644 --- a/.env.development +++ b/.env.development @@ -3,7 +3,7 @@ ENV = 'development' # base api VUE_APP_BASE_API = '/dev-api' -FILE_SERVER_URL = 'http://localhost:10010/' +VUE_APP_BASE_FILE_API = '/dev-file' # vue-cli uses the VUE_CLI_BABEL_TRANSPILE_MODULES environment variable, # to control whether the babel-plugin-dynamic-import-node plugin is enabled. diff --git a/.env.production b/.env.production index 80c8103..2e6016d 100644 --- a/.env.production +++ b/.env.production @@ -3,4 +3,4 @@ ENV = 'production' # base api VUE_APP_BASE_API = '/prod-api' - +VUE_APP_BASE_FILE_API = '/prod-file' diff --git a/src/views/home/index.vue b/src/views/home/index.vue index 4209cfc..11f14d0 100644 --- a/src/views/home/index.vue +++ b/src/views/home/index.vue @@ -39,11 +39,6 @@ @click="newFolderNameClick" > - - - - - @@ -207,7 +202,7 @@