fix: 拓扑组图多语言

This commit is contained in:
TsMask
2024-01-09 20:15:43 +08:00
parent 584c1e1019
commit c0e7588712
3 changed files with 4 additions and 2 deletions

View File

@@ -1045,6 +1045,7 @@ export default {
serialNum: 'Serial Number',
expiryDate: 'Expiry Date',
switchLayout: "Switch Layout",
viewLogFile: "Viewing Log Files",
},
topologyBuild: {
graphMode: "Graph Model",

View File

@@ -1045,6 +1045,7 @@ export default {
serialNum: '序列号',
expiryDate: '许可证到期日期',
switchLayout: "切换布局",
viewLogFile: "查看日志文件",
},
topologyBuild: {
graphMode: "图模式",

View File

@@ -71,13 +71,13 @@ const graphNodeMenu = new Menu({
${neState.neName ?? '--'}
</h3>
<div id="restart" style="cursor: pointer; margin-bottom: 4px">
> 重启
> ${t('views.configManage.neManage.restart')}
</div>
<div id="stop" style="cursor: pointer; margin-bottom: 4px;">
> ${t('views.configManage.neManage.stop')}
</div>
<div id="log" style="cursor: pointer; margin-bottom: 4px;">
> 查看日志文件
> ${t('views.monitor.topology.viewLogFile')}
</div>
</div>
`;