change back

This commit is contained in:
liangping 2022-10-05 20:41:09 +08:00
parent 0869c7a93b
commit 12fde18e75

View File

@ -51,11 +51,14 @@ export default {
}
}
})
return [{
header: `${selected.chain_name} Dashboard`,
const current = {
title: selected.chain_name,
icon: selected.logo,
}].concat(children).concat(this.items)
route: { name: selected.chain_name, params: { chain: selected.chain_name } },
}
current.children = children
// this.items.unshift(current)
return [{ header: 'dashboard' }, current].concat(this.items)
},
},
}