diff --git a/src/locales/lang/en/action.ts b/src/locales/lang/en/action.ts index fdff0fc0..83227e10 100644 --- a/src/locales/lang/en/action.ts +++ b/src/locales/lang/en/action.ts @@ -7,5 +7,6 @@ export default { delete: 'Delete', detail: 'Detail', export: 'Export', - import: 'Import' + import: 'Import', + sync: 'Sync' } diff --git a/src/locales/lang/zh-CN/action.ts b/src/locales/lang/zh-CN/action.ts index debae9e5..3d2dfcfb 100644 --- a/src/locales/lang/zh-CN/action.ts +++ b/src/locales/lang/zh-CN/action.ts @@ -7,5 +7,6 @@ export default { delete: '删除', detail: '详情', export: '导出', - import: '导入' + import: '导入', + sync: '同步' } diff --git a/src/views/infra/codegen/index.vue b/src/views/infra/codegen/index.vue index 0887a724..2dcd2dbc 100644 --- a/src/views/infra/codegen/index.vue +++ b/src/views/infra/codegen/index.vue @@ -15,7 +15,7 @@ { icon: IconEnum.DOWNLOAD, label: '生成', auth: 'infra:codegen:download', onClick: handleGenTable.bind(null, record) }, { icon: IconEnum.RESET, - label: '同步', + label: t('action.sync'), auth: 'infra:codegen:update', popConfirm: { title: '确认要强制同步' + record.tableName + '表结构吗?', diff --git a/src/views/mp/mpuser/index.vue b/src/views/mp/mpuser/index.vue index b6634114..02a8665a 100644 --- a/src/views/mp/mpuser/index.vue +++ b/src/views/mp/mpuser/index.vue @@ -3,7 +3,7 @@