提交 2a216b01 authored 作者: vipcxj's avatar vipcxj

服务器地址更新到192.168.1.5,修复主界面不能切换作用域的错误

上级 f4aa4d6c
const proxy = { const proxy = {
"target": "http://192.168.1.121:8180", "target": "http://192.168.1.5:8090",
"changeOrigin": true, "changeOrigin": true,
"pathRewrite": { "pathRewrite": {
"^/api": "/big-machine/restful-services" "^/api": "/big-machine/restful-services"
......
...@@ -75,7 +75,7 @@ class HeaderPane extends React.Component { ...@@ -75,7 +75,7 @@ class HeaderPane extends React.Component {
<SubMenu title={domainTitle} key="domain"> <SubMenu title={domainTitle} key="domain">
{ {
domainList.map(dm => ( domainList.map(dm => (
<MenuItem key={`${dm.id}`}> <MenuItem key={dm.path}>
{ dm.name } { dm.name }
</MenuItem> </MenuItem>
)) ))
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论