拓扑图bug

This commit is contained in:
jhnine 2022-06-28 15:33:19 +08:00
parent 61ce579f22
commit 972094a6de
2 changed files with 6 additions and 7 deletions

View File

@ -12,7 +12,7 @@
</el-radio-group> -->
</div>
<el-row>
<el-col :span="5">
<el-col :span="5" style="margin-top: -50px">
<el-button class="researth" icon="el-icon-refresh" circle @click="getMapData()" />
<List
ref="multipleTable"
@ -106,7 +106,7 @@ export default {
}
],
columns: [
{ prop: 'ns_name', label: '项目名称', formatter: (row, column) => { return (row.state === 'Active' ? <div><span class='round' />{row.ns_name} <span class='box'>{row.available_pod_num}</span></div> : <div><span class='round error' />{row.ns_name} <span>{row.available_pod_num}</span></div>) } }
{ prop: 'ns_name', label: '项目名称', formatter: (row, column) => { return (row.state === 'Active' ? <div><span class='round' />{row.ns_name} <span class='box'>{row.available_pod_num}</span></div> : <div><span class='round error' />{row.ns_name} <span class='box'>{row.available_pod_num}</span></div>) } }
],
ramLoad: [], //
cpuLoad: [], // CPU
@ -441,7 +441,7 @@ export default {
}
.exhibition{
margin: 40px 10% ;
margin: 30px 10% ;
}
.box{
display: inline-block;

View File

@ -68,10 +68,9 @@ module.exports = {
// // target: 'ws://jointcloud.net/prod-api/' /* 演示环境 */
// },
'/monitoringscreen/': {
ws: true,
changeOrigin: true,
target: 'https://10.101.15.6' /* 测试环境 */
// target: 'https://jointcloud.net' /* 演示环境 */
ws: false,
target: 'https://10.101.15.6/apis',
changeOrigin: true
},
'^/edgex': {
ws: false,