fix: 处理 project endpoint列表不显示的问题

This commit is contained in:
zhangyu
2021-08-06 18:30:30 +08:00
parent 24a4d86082
commit 6269b5f659
2 changed files with 4 additions and 4 deletions

View File

@@ -166,9 +166,9 @@ export default {
// //console.error(response.data.list[i], err); // //console.error(response.data.list[i], err);
// } // }
// } // }
response.data.list.map(d => { response.data.list.forEach(d => {
d.port = JSON.parse(d.configs).port d.port = JSON.parse(d.configs[0].config).config.port
d.path = d.module.type d.path = JSON.parse(d.configs[0].config).config.protocol
}) })
this.tableData = response.data.list this.tableData = response.data.list
this.pageObj.total = response.data.total this.pageObj.total = response.data.total

View File

@@ -454,7 +454,7 @@
{{$t('overall.preview')}} {{$t('overall.preview')}}
</div> </div>
<div class="right-box-line"></div> <div class="right-box-line"></div>
<div class="configs-copy-value">logsLogsArrAdd <div class="configs-copy-value">
<span class="copy-value-content"> <i class="nz-icon nz-icon-override" @click="copyValue"></i></span> <span class="copy-value-content"> <i class="nz-icon nz-icon-override" @click="copyValue"></i></span>
<pre style="overflow-y: auto;height:100%">{{configsCopyValue}}</pre> <pre style="overflow-y: auto;height:100%">{{configsCopyValue}}</pre>
</div> </div>