Commit 68aa6fc9 by ‘july-fu’

fix: 隐藏架构视图配置编辑下的元素关系,隐藏架构元素关系管理下的表格和新增

1 parent 2e1b8dc7
const { defineConfig } = require('@vue/cli-service')
const { defineConfig } = require("@vue/cli-service");
// const ip = '43.143.211.42';
const ip = '172.20.10.3';
// const ip = '172.20.10.3';
// const ip = '172.20.10.9'; // 何鹏
// const ip = '192.168.0.120';
// const ip = '192.168.0.13';
const ip = "172.20.10.7";
// const ip = "169.254.36.207";
module.exports = defineConfig({
transpileDependencies: true,
//如果是hash模式, publicPath:"";如果是history, publicPath:"/"
......@@ -11,20 +13,20 @@ module.exports = defineConfig({
devServer: {
hot: true,
proxy: {
'/eadc-shared-ability': {
target: `http://${ip}:80/`, // 共享能力
"/eadc-shared-ability": {
target: `http://${ip}:19000/`, // 共享能力
changeOrigin: true,
// secure: false,
// pathRewrite: { '^/api/eadc-shared-ability': '/eadc-shared-ability' },
},
'/eadc-architecture': {
target: `http://${ip}:80/`, // 架构元模型
"/eadc-architecture": {
target: `http://${ip}:19000/`, // 架构元模型
changeOrigin: true,
// secure: false,
// pathRewrite: { '^/api/network': '' },
},
'/eadc-knowledge-pool': {
target: `http://${ip}:80/`, // 架构知识库
"/eadc-knowledge-pool": {
target: `http://${ip}:19000/`, // 架构知识库
changeOrigin: true,
// secure: false,
// pathRewrite: { '^/api': '' },
......@@ -32,9 +34,9 @@ module.exports = defineConfig({
},
},
chainWebpack: (config) => {
config.plugin('html').tap((args) => {
args[0].title = '数字化架构设计与管控支撑工具'
return args
})
config.plugin("html").tap((args) => {
args[0].title = "数字化架构设计与管控支撑工具";
return args;
});
},
})
});
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!