From b31563aaabd51b7069f43e09e0f77fc4550837d8 Mon Sep 17 00:00:00 2001 From: Jesse-Ma <24167796@qq.com> Date: Wed, 22 Mar 2023 14:28:24 +0800 Subject: [PATCH] compact --- vue.config.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/vue.config.js b/vue.config.js index f24bc72..d7fd4fe 100644 --- a/vue.config.js +++ b/vue.config.js @@ -23,7 +23,9 @@ module.exports = defineConfig({ "iview": 'ViewUI', "file-saver": 'saveAs', "clipboard": "ClipboardJS", - "vue-i18n": "VueI18n" + "vue-i18n": "VueI18n", + "html2canvas":"html2canvas", + "wasm_flate":"wasm_flate" }; // 为生产环境修改配置 @@ -65,8 +67,8 @@ module.exports = defineConfig({ devServer: { proxy: { "/note": { -// target: "https://flagnote.com/", // 后台接口域名 - target: "http://localhost:10000/", // 后台接口域名 + target: "https://flagnote.com/", // 后台接口域名 +// target: "http://localhost:10000/", // 后台接口域名 secure: false, // 如果是https接口,需要配置这个参数 changeOrigin: true, //是否跨域 pathRewrite: {