fix: 修复因subscriber实体类型为subscriber_id导致实体详情打开报错的问题
This commit is contained in:
@@ -124,10 +124,14 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
showDetail () {
|
||||
let entityType = _.cloneDeep(this.entityData.entityType)
|
||||
if (entityType === 'subscriber_id') {
|
||||
entityType = entityType.slice(0, -3)
|
||||
}
|
||||
const { href } = this.$router.resolve({
|
||||
path: '/entity/detail',
|
||||
query: {
|
||||
entityType: this.entityData.entityType,
|
||||
entityType: entityType,
|
||||
entityName: this.entityData.entityValue,
|
||||
range: this.timeFilter.dateRangeValue
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user