From 538ff05f46412603552e9e01ed447649d36e4ced Mon Sep 17 00:00:00 2001
From: kongdeqiang <123456>
Date: 星期四, 06 四月 2023 09:22:50 +0800
Subject: [PATCH] 搜索bug
---
vue.config.js | 62 +++++++++++++++++--------------
1 files changed, 34 insertions(+), 28 deletions(-)
diff --git a/vue.config.js b/vue.config.js
index f7124b6..c2d642c 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -6,44 +6,50 @@
port: 9999,
proxy: {
'/xboot': {
- target: 'http://127.0.0.1:8888', // 璇锋眰鏈湴 闇�瑕亁boot鍚庣椤圭洰
- ws: true
+ target: 'http://127.0.0.1:9091', // 璇锋眰鏈湴 闇�瑕亁boot鍚庣椤圭洰
+ //target: 'http://192.168.0.162:8888', // 璇锋眰鏈湴 闇�瑕亁boot鍚庣椤圭洰
+ //target: 'http://111.63.178.115:9091',
+ ws: true,
+ changeOrigin:true,
+ pathRewrite:{
+ '/api':''
+ }
},
'/foo': {
target: '<other_url>'
}
- }
+ },
},
// 鎵撳寘鏃朵笉鐢熸垚.map鏂囦欢 閬垮厤鐪嬪埌婧愮爜
productionSourceMap: false,
// 閮ㄧ讲浼樺寲
configureWebpack: {
// 浣跨敤CDN
- externals: {
- vue: 'Vue',
- 'vue-i18n': 'VueI18n',
- axios: 'axios',
- 'vue-router': 'VueRouter',
- vuex: 'Vuex',
- 'view-design': 'iview',
- echarts: 'echarts',
- apexcharts: 'ApexCharts',
- 'vue-apexcharts': 'VueApexCharts',
- xlsx: 'XLSX',
- dplayer: 'DPlayer',
- 'print-js': 'printJS',
- html2canvas: 'html2canvas',
- 'vue-json-pretty': 'VueJsonPretty',
- 'vue-lazyload': 'VueLazyload',
- gitalk: 'Gitalk',
- 'js-cookie': 'Cookies',
- wangEditor: 'wangEditor',
- quill: 'Quill',
- stompjs: 'Stomp',
- 'sockjs-client': 'SockJS',
- vuedraggable: 'vuedraggable',
- viewerjs: 'Viewer'
- },
+ // externals: {
+ // vue: 'Vue',
+ // 'vue-i18n': 'VueI18n',
+ // axios: 'axios',
+ // 'vue-router': 'VueRouter',
+ // vuex: 'Vuex',
+ // 'view-design': 'iview',
+ // echarts: 'echarts',
+ // apexcharts: 'ApexCharts',
+ // 'vue-apexcharts': 'VueApexCharts',
+ // xlsx: 'XLSX',
+ // dplayer: 'DPlayer',
+ // 'print-js': 'printJS',
+ // html2canvas: 'html2canvas',
+ // 'vue-json-pretty': 'VueJsonPretty',
+ // 'vue-lazyload': 'VueLazyload',
+ // gitalk: 'Gitalk',
+ // 'js-cookie': 'Cookies',
+ // wangEditor: 'wangEditor',
+ // quill: 'Quill',
+ // stompjs: 'Stomp',
+ // 'sockjs-client': 'SockJS',
+ // vuedraggable: 'vuedraggable',
+ // viewerjs: 'Viewer'
+ // },
plugins: [
// GZIP鍘嬬缉
new CompressionPlugin({
--
Gitblit v1.9.1