Commit 1b169213 authored by 皮倩雯's avatar 皮倩雯

fix: '修改gis默认端口号'

parent 6be385ed
Pipeline #83270 passed with stages
...@@ -115,7 +115,7 @@ const AddModal = props => { ...@@ -115,7 +115,7 @@ const AddModal = props => {
} }
setGsIp(gsIp); setGsIp(gsIp);
let localIps = ['192.168.12.7', '192.168.19.100']; let localIps = ['192.168.12.7', '192.168.19.100'];
let port = localIps.includes(gsIp) ? 8080 : 8088; let port = localIps.includes(gsIp) ? 8080 : 18088;
form.setFieldsValue({ servicename: serviceName[0].value, port, ...formObj }); form.setFieldsValue({ servicename: serviceName[0].value, port, ...formObj });
break; break;
case 'edit': case 'edit':
...@@ -214,7 +214,7 @@ const AddModal = props => { ...@@ -214,7 +214,7 @@ const AddModal = props => {
}; };
const selectIp = value => { const selectIp = value => {
let localIps = ['192.168.12.7', '192.168.19.100']; let localIps = ['192.168.12.7', '192.168.19.100'];
let port = localIps.includes(value) ? 8080 : 8088; let port = localIps.includes(value) ? 8080 : 18088;
form.setFieldsValue({ port, serviceadress: value }); form.setFieldsValue({ port, serviceadress: value });
}; };
return ( return (
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment