mirror of
https://github.com/flipped-aurora/gin-vue-admin.git
synced 2026-10-08 10:39:56 +00:00
+ Fixed a bug in template/web/form.vue.tpl and template/web/table.vue.tpl files.
+ Adding missing translations for templates.
This commit is contained in:
@@ -146,6 +146,10 @@
|
||||
"createUpdateSuccess" : "Create/change successful",
|
||||
"deleteConfirm" : "You sure you want to delete it?",
|
||||
"selectDataToDelete" : "Please select the data to delete",
|
||||
"search" : "Search",
|
||||
"reset" : "Reset",
|
||||
"popUpOperation" : "Pop-up operation",
|
||||
"change" : "Modify",
|
||||
"" : ""
|
||||
},
|
||||
"historyComponent": {
|
||||
@@ -236,7 +240,11 @@
|
||||
"sortTags": "Sort Tags",
|
||||
"subMenuNote": "If the menu contains submenus, create a router-view secondary routing page or",
|
||||
"visibility": "Whether to hide",
|
||||
"visibilityNote": "Whether to hide in the list"
|
||||
"visibilityNote": "Whether to hide in the list",
|
||||
"addButton" : "Add a controllable button",
|
||||
"buttonName" : "Button name",
|
||||
"comments" : "Comments",
|
||||
"" : ""
|
||||
},
|
||||
"menus": {
|
||||
"": "",
|
||||
|
||||
@@ -146,6 +146,10 @@
|
||||
"createUpdateSuccess" : "创建/更改成功",
|
||||
"deleteConfirm" : "确定要删除吗?",
|
||||
"selectDataToDelete" : "请选择要删除的数据",
|
||||
"search" : "查询",
|
||||
"reset" : "重置",
|
||||
"popUpOperation" : "弹窗操作",
|
||||
"change" : "变更",
|
||||
"" : ""
|
||||
},
|
||||
"historyComponent": {
|
||||
@@ -236,7 +240,11 @@
|
||||
"sortTags": "排序标记",
|
||||
"subMenuNote": "如果菜单包含子菜单,请创建router-view二级路由页面或者",
|
||||
"visibility": "是否隐藏",
|
||||
"visibilityNote": "是否在列表隐藏"
|
||||
"visibilityNote": "是否在列表隐藏",
|
||||
"addButton" : "新增可控按钮",
|
||||
"buttonName" : "按钮名称",
|
||||
"comments" : "备注",
|
||||
"" : ""
|
||||
},
|
||||
"menus": {
|
||||
"": "",
|
||||
|
||||
@@ -57,7 +57,7 @@
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
</div>
|
||||
<el-dialog v-model="dialogFormVisible" :before-close="handleClose" :title="dialogTitle" width="780px">
|
||||
<el-dialog v-model="dialogFormVisible" :before-close="handleClose" :title="dialogTitle" width="800px">
|
||||
<warning-bar :title="t('menu.newMenuNote')" />
|
||||
<el-form
|
||||
v-if="dialogFormVisible"
|
||||
@@ -66,7 +66,7 @@
|
||||
:model="form"
|
||||
:rules="rules"
|
||||
label-position="top"
|
||||
label-width="85px"
|
||||
label-width="100px"
|
||||
>
|
||||
<el-form-item :label="t('menu.routeName')" prop="path" style="width:30%">
|
||||
<el-input
|
||||
@@ -184,16 +184,16 @@
|
||||
type="primary"
|
||||
icon="edit"
|
||||
@click="addBtn(form)"
|
||||
>新增可控按钮</el-button>
|
||||
>{{ t('menu.addButton') }}</el-button>
|
||||
<el-table :data="form.menuBtn" style="width: 100%">
|
||||
<el-table-column align="left" prop="name" label="按钮名称" width="180">
|
||||
<el-table-column align="left" prop="name" :label="t('menu.buttonName')" width="180">
|
||||
<template #default="scope">
|
||||
<div>
|
||||
<el-input v-model="scope.row.name" />
|
||||
</div>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column align="left" prop="name" label="备注" width="180">
|
||||
<el-table-column align="left" prop="name" :label="t('menu.comments')" width="180">
|
||||
<template #default="scope">
|
||||
<div>
|
||||
<el-input v-model="scope.row.desc" />
|
||||
@@ -208,7 +208,7 @@
|
||||
size="small"
|
||||
icon="delete"
|
||||
@click="deleteBtn(form.menuBtn,scope.$index)"
|
||||
>删除</el-button>
|
||||
>{{ t('general.delete') }}</el-button>
|
||||
</div>
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
||||
Reference in New Issue
Block a user