feat: 新增模块首页、国际化适配与菜单重载功能
1. 为菜单数据新增remark字段并设置默认值 2. 全量替换硬编码文本为国际化多语言支持 3. 新增生产配置模块首页组件与路由 4. 新增菜单重载action,支持语言切换后重载菜单 5. 补充简体中文、英文、日文、繁体中文语言包
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
<p
|
||||
class="d2-module-index-menu-group--title"
|
||||
:class="titleClassName">
|
||||
{{menu.title}}
|
||||
{{ $t(menu.title) }}
|
||||
</p>
|
||||
<template v-for="(item, index) in menu.children">
|
||||
<d2-module-index-menu-group
|
||||
@@ -27,7 +27,7 @@
|
||||
<p
|
||||
class="d2-module-index-menu-group--title"
|
||||
:class="titleClassName">
|
||||
{{menu.title}}
|
||||
{{ $t(menu.title) }}
|
||||
</p>
|
||||
<d2-module-index-menu-item :menu="menu"/>
|
||||
</template>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<el-button
|
||||
class="d2-module-index-menu-item"
|
||||
@click="handleMenuSelect(menu.path)">
|
||||
{{menu.title}}
|
||||
{{ $t(menu.title) }}
|
||||
</el-button>
|
||||
</template>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user