feat: support vscode i18n-ally plugin

This commit is contained in:
vben
2020-12-01 23:51:39 +08:00
parent 41a4b827a2
commit 962f90de44
39 changed files with 263 additions and 259 deletions

View File

@@ -1,7 +1,7 @@
<template>
<BasicModal
v-bind="$attrs"
:title="t('exportModalTitle')"
:title="t('component.excel.exportModalTitle')"
@ok="handleOk"
@register="registerModal"
>
@@ -21,19 +21,19 @@
import { useI18n } from '/@/hooks/web/useI18n';
const { t } = useI18n('component.excel');
const { t } = useI18n();
const schemas: FormSchema[] = [
{
field: 'filename',
component: 'Input',
label: t('fileName'),
label: t('component.excel.fileName'),
rules: [{ required: true }],
},
{
field: 'bookType',
component: 'Select',
label: t('fileType'),
label: t('component.excel.fileType'),
defaultValue: 'xlsx',
rules: [{ required: true }],
componentProps: {