fix: serverIP实体列表参数修正

This commit is contained in:
chenjinsong
2021-08-26 18:33:49 +08:00
parent c5f4139f2f
commit 6e3960fa4e
3 changed files with 6 additions and 3 deletions

View File

@@ -71,10 +71,13 @@ export default {
} else {
this.$message.error(this.$t('tip.unknownError'))
}
}
).finally(() => {
this.loading = false
this.blockOperation.query = false
}
).catch(e => {
this.loading = false
this.blockOperation.query = false
this.$message.error(this.$t('tip.unknownError'))
})
}
}

View File

@@ -35,7 +35,7 @@
<div class="body__row-value" :title="d.asn">{{d.asn || '-'}}</div>
</div>
<div class="body__detail"
@click="entityDetail({clientIP: d.ip}, [{key: 'clientIP', label: $t('overall.clientIp')}, {key: 'serverIP', label: $t('overall.serverIp')}])">{{$t('overall.detail')}}></div>
@click="entityDetail({ip: d.ip}, [{key: 'clientIP', label: $t('overall.clientIp')}, {key: 'serverIP', label: $t('overall.serverIp')}])">{{$t('overall.detail')}}></div>
</template>
<template v-else-if="from === 'domain'">
<div class="body__row">

View File

@@ -6,7 +6,7 @@
<span style="padding-left: 15px; color: #333;">{{tabTitle}}</span>
</div>
<el-radio-group v-model="tab" size="mini" @change="changeTab">
<el-radio-button v-for="tabTmp in tabs" :label="tabTmp.key" >{{tabTmp.label}}</el-radio-button>
<el-radio-button v-for="tabTmp in tabs" :key="tabTmp.key" :label="tabTmp.key" >{{tabTmp.label}}</el-radio-button>
</el-radio-group>
</div>
<div class="cn-panel" id="cn-panel" :style="{height: typeName ? 'calc(100% - 80px)' : ''}">