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': '/'