Skip to content

Commit

Permalink
fix: 路由和选中态不对 TencentBlueKing#2834
Browse files Browse the repository at this point in the history
  • Loading branch information
hLinx committed Apr 1, 2024
1 parent 44755c9 commit 7608346
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 13 deletions.
1 change: 0 additions & 1 deletion src/frontend/src/layout-new.vue
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,6 @@
return;
}
}
routerGroup.value = 'business';
}, {
immediate: true,
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
SOLARIS: 0,
UNIX: 0,
WINDOWS: 0,
MAC: 0,
MACOS: 0,
},
};
},
Expand All @@ -110,42 +110,42 @@
created() {
this.systemList = [
{
name: I18n.t('Linux 数量'),
name: I18n.t('dashboard.Linux 数量'),
key: 'LINUX',
icon: 'os-linux',
},
{
name: I18n.t('Windows 数量'),
name: I18n.t('dashboard.Windows 数量'),
key: 'WINDOWS',
icon: 'os-win',
},
{
name: I18n.t('AIX 数量'),
name: I18n.t('dashboard.AIX 数量'),
key: 'AIX',
icon: 'os-aix',
},
{
name: I18n.t('UNIX 数量'),
name: I18n.t('dashboard.UNIX 数量'),
key: 'UNIX',
icon: 'os-unix',
},
{
name: I18n.t('Solaris 数量'),
name: I18n.t('dashboard.Solaris 数量'),
key: 'SOLARIS',
icon: 'os-solaris',
},
{
name: I18n.t('Free BSD 数量'),
name: I18n.t('dashboard.Free BSD 数量'),
key: 'FREEBSD',
icon: 'os-freebsd',
},
{
name: I18n.t('MacOS 数量'),
key: 'MAC',
name: I18n.t('dashboard.MacOS 数量'),
key: 'MACOS',
icon: 'os-macos',
},
{
name: I18n.t('未知数量'),
name: I18n.t('dashboard.未知数量'),
key: 'OTHERS',
icon: 'os-unknown',
},
Expand Down
8 changes: 8 additions & 0 deletions src/frontend/src/views/dashboard/local.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,5 +123,13 @@ export default {
截图: 'Screenshot',
'未知 OS': 'Unknown OS',
滚动执行: 'Rolling Exec.',
'Linux 数量': 'Linux',
'Windows 数量': 'Windows',
'AIX 数量': 'AIX',
'UNIX 数量': 'UNIX',
'Solaris 数量': 'Solaris',
'Free BSD 数量': 'Free BSD',
'MacOS 数量': 'MacOS',
未知数量: 'Unknown',
},
};
4 changes: 2 additions & 2 deletions src/frontend/src/views/task-manage/local.js
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ export default {
未发现无效主机: 'No invalid host found',
'作业导入任务出错,原因详见下列日志,请稍后再试。': 'Import task encountered an error. please refer to the log details and try again later.',
'作业导入完成(部分失败),请根据日志提示调整后重新选择导入。': 'Job import completed (some failed), please adjust according to the log prompt and re-select to import again.',
填入上一次执行参数: '填入上一次执行参数',
复用当前登录用户的最近一次通过页面执行的入参: '复用当前登录用户的最近一次通过页面执行的入参',
填入上一次执行参数: 'Load in previous execution parameters',
复用当前登录用户的最近一次通过页面执行的入参: 'Reuse the parameters of current user\'s last execution',
},
};

0 comments on commit 7608346

Please sign in to comment.