王露 3 лет назад
Родитель
Сommit
f6fda1a713

+ 3
- 3
digital-park-web/digital-park/src/utils/common.js Просмотреть файл

* @returns * @returns
*/ */
export const formatImg = path => { 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}` : "";
}; };


/** /**
.replace(/\n$/gim, '<br />') .replace(/\n$/gim, '<br />')
.replace(/[\r\n]/g, "<br />") .replace(/[\r\n]/g, "<br />")
return htmlText.trim() return htmlText.trim()
}
}

+ 1
- 1
digital-park-web/digital-park/src/views/index/Product.vue Просмотреть файл

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



+ 3
- 2
digital-park-web/digital-park/vue.config.js Просмотреть файл

disableHostCheck: true, disableHostCheck: true,
proxy: { proxy: {
"/domain": { "/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/", // target: "http://192.168.18.138:18888/",
changeOrigin: true, changeOrigin: true,
pathRewrite: { pathRewrite: {

Загрузка…
Отмена
Сохранить