Browse Source

域名修改

master
王露 2 years ago
parent
commit
f6fda1a713

+ 3
- 3
digital-park-web/digital-park/src/utils/common.js View File

@@ -13,8 +13,8 @@ export const routerOpenInNewWindow = routerPath => {
* @returns
*/
export const formatImg = path => {
// return path ? `${process.env.VUE_APP_PARK_DOMAIN}/common/getImg?path=${path}` : "";
return path ? `http://192.168.18.236:18888/common/getImg?path=${path}` : "";
return path ? `${process.env.VUE_APP_PARK_DOMAIN}/common/getImg?path=${path}` : "";
// return path ? `http://192.168.18.236:18888/common/getImg?path=${path}` : "";
};

/**
@@ -49,4 +49,4 @@ export const parseMarkdown = (markdownText) => {
.replace(/\n$/gim, '<br />')
.replace(/[\r\n]/g, "<br />")
return htmlText.trim()
}
}

+ 1
- 1
digital-park-web/digital-park/src/views/index/Product.vue View File

@@ -1,6 +1,6 @@
<!-- 主导产业 -->
<template>
<div class="product" id="anchor-product">
<div class="product" id="anchor-product" v-if="leadingIndustryArr.length > 0">
<div class="title">主导产业</div>
<!-- :class="['pointer', activeTab === index ? 'is_active' : '']" -->


+ 3
- 2
digital-park-web/digital-park/vue.config.js View File

@@ -23,8 +23,9 @@ module.exports = {
disableHostCheck: true,
proxy: {
"/domain": {
// target: "http://localhost:80",
target: "http://192.168.18.236:18888/",
target: "http://localhost:80",
// target: "http://、192.168.18.236:18888/",
// target: "http://192.168.30.48:18888/",
// target: "http://192.168.18.138:18888/",
changeOrigin: true,
pathRewrite: {

Loading…
Cancel
Save