perf(Locale): simplify locale configs (#9329)

This commit is contained in:
neverland
2021-08-25 11:25:20 +08:00
committed by GitHub
parent 65067262e0
commit ce015ea1f4
18 changed files with 19 additions and 75 deletions
+1 -1
View File
@@ -117,7 +117,7 @@ export default defineComponent({
v-model={contact.name}
clearable
label={t('name')}
rules={[{ required: true, message: t('nameInvalid') }]}
rules={[{ required: true, message: t('nameEmpty') }]}
maxlength="30"
placeholder={t('nameEmpty')}
/>
@@ -2,7 +2,7 @@
exports[`should validate contact name before submitting form 1`] = `
<div class="van-field__error-message">
Malformed name
Please fill in the name
</div>
`;