From 07ec70fb9a6a662e2ef8203f0deb466db871fed9 Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期五, 13 九月 2024 13:26:11 +0800 Subject: [PATCH] # --- zy-acs-flow/src/i18n/en.js | 2 ++ zy-acs-flow/src/i18n/zh.js | 2 ++ zy-acs-flow/src/page/code/CodeList.jsx | 4 ++-- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/zy-acs-flow/src/i18n/en.js b/zy-acs-flow/src/i18n/en.js index c7e21f2..54385b0 100644 --- a/zy-acs-flow/src/i18n/en.js +++ b/zy-acs-flow/src/i18n/en.js @@ -35,6 +35,8 @@ enums: { statusTrue: 'Enable', statusFalse: 'Disable', + true: 'Yes', + false: 'No', }, time: { after: 'Time After', diff --git a/zy-acs-flow/src/i18n/zh.js b/zy-acs-flow/src/i18n/zh.js index 2d6b36f..57877db 100644 --- a/zy-acs-flow/src/i18n/zh.js +++ b/zy-acs-flow/src/i18n/zh.js @@ -35,6 +35,8 @@ enums: { statusTrue: '姝e父', statusFalse: '绂佺敤', + true: '鏄�', + false: '鍚�', }, time: { after: '寮�濮嬫椂闂�', diff --git a/zy-acs-flow/src/page/code/CodeList.jsx b/zy-acs-flow/src/page/code/CodeList.jsx index 46514f8..2e236b5 100644 --- a/zy-acs-flow/src/page/code/CodeList.jsx +++ b/zy-acs-flow/src/page/code/CodeList.jsx @@ -68,8 +68,8 @@ <NumberInput source="y" label="table.field.code.y" />, <SelectInput source="concer" label="table.field.code.concer" choices={[ - { id: 1, name: '鏄�' }, - { id: 0, name: '鍚�' }, + { id: '1', name: 'common.enums.true' }, + { id: '0', name: 'common.enums.false' }, ]} />, <TextInput source="scale" label="table.field.code.scale" />, -- Gitblit v1.9.1