[去升级换字段判断用is_top判断]

This commit is contained in:
2021-10-27 09:53:29 +08:00
parent 61a417065a
commit 29f5a1e755
3 changed files with 13 additions and 9 deletions

View File

@@ -178,7 +178,7 @@
this.identitie = res.identities
if (type === 'cre') {
let Index = res.identities.findIndex(val => val.identity_id == this.$Route.query.identity_id)
if(Index+1 === res.identities){
if(Index+1 === res.identities.length){
this.tabsIndex = Index
}else{
this.tabsIndex = Index+1