fix: 处理 project endpoint列表不显示的问题
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user