From 91379a03b31ccdd5b8b57c0d69dd55b01aabe8ae Mon Sep 17 00:00:00 2001 From: smallchill Date: Thu, 1 Aug 2019 00:20:27 +0800 Subject: [PATCH] =?UTF-8?q?:tada:=20=E8=B0=83=E6=95=B4=E8=A1=A8=E6=A0=BC?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.js | 1 - vue.config.js | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main.js b/src/main.js index 11b1b5c..54da379 100644 --- a/src/main.js +++ b/src/main.js @@ -24,7 +24,6 @@ Vue.use(Element, { i18n: (key, value) => i18n.t(key, value) }) Vue.use(window.AVUE, { - size: 'small', i18n: (key, value) => i18n.t(key, value) }) //注册全局容器 diff --git a/vue.config.js b/vue.config.js index ee4aad7..9b22e76 100644 --- a/vue.config.js +++ b/vue.config.js @@ -26,9 +26,9 @@ module.exports = { proxy: { '/api': { //本地服务接口地址 - target: 'http://localhost', + //target: 'http://localhost', //远程演示服务地址 - //target: 'https://saber.bladex.vip/api', + target: 'https://saber.bladex.vip/api', ws: true, pathRewrite: { '^/api': '/'