mirror of
https://github.com/jumpserver/lina.git
synced 2026-01-15 14:24:39 +00:00
fix: 修复资产详情页面,toLowerCase 报错
This commit is contained in:
@@ -89,7 +89,7 @@ export default {
|
||||
|
||||
for (const preTab of preActiveTabs) {
|
||||
for (const tabName in this.tabIndices) {
|
||||
if (preTab.toLowerCase() === tabName.toLowerCase()) {
|
||||
if (preTab && tabName && preTab.toLowerCase() === tabName.toLowerCase()) {
|
||||
return tabName
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user