feat: i18n

pull/35/head
xingyu 2023-09-13 12:25:35 +08:00
parent 731bc2ab0f
commit f2ea548f26
3 changed files with 3 additions and 3 deletions

View File

@ -42,7 +42,7 @@ function handleAudit(record: Recordable) {
<template v-if="column.key === 'action'">
<TableAction
:actions="[
{ icon: IconEnum.VIEW, label: '详情', onClick: openDetail.bind(null, record) },
{ icon: IconEnum.VIEW, label: t('action.detail'), onClick: openDetail.bind(null, record) },
{ icon: IconEnum.VIEW, label: '流程', onClick: handleAudit.bind(null, record) },
]"
/>

View File

@ -42,7 +42,7 @@ function handleShowInfo(record: Recordable) {
<TableAction
:actions="[
{
label: '详情',
label: t('action.detail'),
icon: IconEnum.LOG,
onClick: handleShowInfo.bind(null, record),
},

View File

@ -112,7 +112,7 @@ function handleInfo(record: any) {
},
{
icon: IconEnum.LOG,
label: '详情',
label: t('action.detail'),
onClick: handleInfo.bind(null, record),
},
]"