Commit 94b94eb5 authored by 张志伟's avatar 张志伟

perf:管网配置界面图层的显隐和文件内容保持一致

parent baea56c4
Pipeline #95224 waiting for manual action with stages
......@@ -332,6 +332,7 @@
display: flex;
align-items: center;
gap: 5px;
cursor: pointer;
.layerTitle_icon{
width: 3px;
border-radius: 2px;
......
......@@ -61,7 +61,9 @@ const MeteDataModal = props => {
title:i.layerName,
key,
}
allKeys.push(key)
if(i.defaultVisibility && i.parentLayerId != -1){
allKeys.push(key)
}
roots.push(params)
}
})
......@@ -128,7 +130,7 @@ const MeteDataModal = props => {
const onSelect = e => {
setLoading(true);
if (e.layerID != null) {
if (e?.layerID != null) {
GetLayerMetaDataPreview({
serviceName: metaData.GISServerProjectName,
layerID: e.layerID,
......@@ -158,6 +160,7 @@ const MeteDataModal = props => {
});
EditLayerMetaDataInfo(metaData.GISServerProjectName,items).then(res=>{
if(res.code ==0){
onCancel()
return message.success(res.data)
}else{
return message.info(res?.data || '元数据信息修改失败!')
......
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