add:菜单国际化

This commit is contained in:
zhangzq
2024-12-21 17:07:41 +08:00
parent c63404b718
commit 2d3fb1730e
40 changed files with 126 additions and 72 deletions

View File

@@ -1,7 +1,7 @@
<template>
<div style="height:1000px">
<iframe
src="./src/assets/daping/index.html"
src="/static/daping/index.html"
width="100%"
height="100%"
frameborder="0"

View File

@@ -171,7 +171,7 @@
@selection-change="crud.selectionChangeHandler"
>
<el-table-column type="selection" width="55" />
<el-table-column :label="$t('menu.table_title.menu_title')" prop="title" :min-width="100" />
<el-table-column :label="$t('menu.table_title.menu_title')" :prop="$langPre.computedProp('title')" :min-width="flexWidth($langPre.computedProp('title'),crud.data,$t('menu.table_title.menu_title'))" />
<el-table-column :label="$t('menu.table_title.system')" prop="systemType" :min-width="flexWidth('systemType',crud.data,$t('menu.table_title.system'))">
<template slot-scope="scope">
{{ dict.label.system_type[scope.row.systemType] }} : {{ scope.row.systemType }}