fix: vpn类的tag都标位红色

This commit is contained in:
chenjinsong
2024-01-29 14:17:36 +08:00
parent 8e5f5b49cb
commit 9e8b3e9d64
3 changed files with 7 additions and 7 deletions

View File

@@ -1502,7 +1502,7 @@ export const formatTags = (data, type, list) => {
if (k !== 'userDefinedTags' && data[k]) {
if (_.isArray(data[k])) {
data[k].forEach(k3 => {
const find = entityDetailTags[type].find(t => t.name === k3.vpnServiceName)
const find = entityDetailTags[type].find(t => t.name === 'vpnServiceName')
if (find) {
list.push({ key: 'vpnServiceName', value: tagValueHandler(k3.vpnServiceName), type: find.type })
} else {