fix: 修复链路四元组图字段名未升级的问题

(cherry picked from commit a26b0c848d)
This commit is contained in:
chenjinsong
2024-04-30 17:06:46 +08:00
committed by 陈劲松
parent 82a31fe3da
commit d1a835a9cb

View File

@@ -168,7 +168,7 @@ export default {
if (tab === 0) {
result.forEach(t => {
this.cnLinkInfo.forEach(e => {
if (parseInt(t.commonInLinkId) === e.linkId) {
if (parseInt(t.inLinkId) === e.linkId) {
t.linkId = e.interfaceName
t.linkDirection = e.peerCity
t.bandwidth = e.bandwidth
@@ -182,7 +182,7 @@ export default {
} else {
result.forEach(t => {
this.cnLinkInfo.forEach(e => {
if (parseInt(t.commonOutLinkId) === e.linkId) {
if (parseInt(t.outLinkId) === e.linkId) {
t.linkId = e.interfaceName
t.bandwidth = e.bandwidth
t.linkDirection = e.peerCity