chore: modify the i18n implementation logic of PageLayout component 🌟

This commit is contained in:
iczer
2020-06-30 16:16:34 +08:00
parent 163b9e1b5f
commit 112f862988
5 changed files with 63 additions and 56 deletions

View File

@@ -3,7 +3,7 @@
* menuOptions示例
* [
* {
* title: '菜单标题',
* name: '菜单名称',
* path: '菜单路由',
* meta: {
* icon: '菜单图标',
@@ -12,7 +12,7 @@
* children: [子菜单配置]
* },
* {
* title: '菜单标题',
* name: '菜单名称',
* path: '菜单路由',
* meta: {
* icon: '菜单图标',
@@ -37,8 +37,6 @@ const {Item, SubMenu} = Menu
export default {
name: 'IMenu',
i18n: {
},
props: {
options: {
type: Array,