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