@@ -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,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' : '']" --> | |||
@@ -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: { |