From c6c12c2693c7c948a9a1d55a5f95b56b227e3ce4 Mon Sep 17 00:00:00 2001 From: qinjie Date: Fri, 13 Aug 2021 00:43:28 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=A0=BC=E5=BC=8F=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E6=94=B9=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jsconfig.json | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/jsconfig.json b/jsconfig.json index 1bd0da4..969c2e1 100644 --- a/jsconfig.json +++ b/jsconfig.json @@ -3,9 +3,16 @@ "target": "es6", "baseUrl": ".", "paths": { - "@/*": ["src/*"] + "@/*": [ + "src/*" + ] } }, - "exclude": ["node_modules", "dist"], - "include": ["src/**/*"] -} + "exclude": [ + "node_modules", + "dist" + ], + "include": [ + "src/**/*" + ] +} \ No newline at end of file From 7b7882d0578424f362c90b97bdd3b73735975e29 Mon Sep 17 00:00:00 2001 From: qinjie Date: Mon, 16 Aug 2021 16:46:07 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E5=A4=A7=E5=A8=83=E4=BB=A3=E7=90=86?= =?UTF-8?q?=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vue.config.js | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/vue.config.js b/vue.config.js index d6f5534..05431b3 100644 --- a/vue.config.js +++ b/vue.config.js @@ -5,7 +5,7 @@ const GitRevision = new GitRevisionPlugin() const buildDate = JSON.stringify(new Date().toLocaleString()) const createThemeColorReplacerPlugin = require('./config/plugin.config') -function resolve (dir) { +function resolve(dir) { return path.join(__dirname, dir) } @@ -94,15 +94,15 @@ const vueConfig = { devServer: { // development server port 8000 - port: 8000 + port: 8000, // If you want to turn on the proxy, please remove the mockjs /src/main.jsL11 - // proxy: { - // '/api': { - // target: 'https://mock.ihx.me/mock/5baf3052f7da7e07e04a5116/antd-pro', - // ws: false, - // changeOrigin: true - // } - // } + proxy: { + '/dawa': { + target: 'http://a.3a6.cn/dawa/', + ws: false, + changeOrigin: true + } + } }, // disable source map in production