feat: 客户管理国际化翻译

This commit is contained in:
caiyuchao
2025-05-24 11:45:25 +08:00
parent ee36fe339d
commit 7206389717
6 changed files with 67 additions and 59 deletions

View File

@@ -21,8 +21,8 @@ const emit = defineEmits(['success']);
const formData = ref<CustomerApi.Customer>();
const getTitle = computed(() => {
return formData.value?.id
? $t('ui.actionTitle.edit', ['客户'])
: $t('ui.actionTitle.create', ['客户']);
? $t('ui.actionTitle.edit', [$t('customer.customer')])
: $t('ui.actionTitle.create', [$t('customer.customer')]);
});
const [Form, formApi] = useVbenForm({