Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
liangzhen
/
framework-tools-web
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 68aa6fc9
authored
Apr 18, 2024
by
‘july-fu’
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 隐藏架构视图配置编辑下的元素关系,隐藏架构元素关系管理下的表格和新增
1 parent
2e1b8dc7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
13 deletions
src/views/archiEleRela/index.vue
src/views/archiViewConfig/index.vue
vue.config.js
src/views/archiEleRela/index.vue
View file @
68aa6fc
This diff is collapsed.
Click to expand it.
src/views/archiViewConfig/index.vue
View file @
68aa6fc
This diff is collapsed.
Click to expand it.
vue.config.js
View file @
68aa6fc
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
}
:
8
0/`
,
// 共享能力
target
:
`http://
${
ip
}
:
1900
0/`
,
// 共享能力
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
}
:
8
0/`
,
// 架构元模型
target
:
`http://
${
ip
}
:
1900
0/`
,
// 架构元模型
changeOrigin
:
true
,
changeOrigin
:
true
,
// secure: false,
// secure: false,
// pathRewrite: { '^/api/network': '' },
// pathRewrite: { '^/api/network': '' },
},
},
'/eadc-knowledge-pool'
:
{
"/eadc-knowledge-pool"
:
{
target
:
`http://
${
ip
}
:
8
0/`
,
// 架构知识库
target
:
`http://
${
ip
}
:
1900
0/`
,
// 架构知识库
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
;
})
})
;
},
},
})
})
;
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment