制限を5から10に緩和

This commit is contained in:
tamaina 2023-04-21 16:02:47 +00:00
parent 2671733338
commit eb4bca83fd
2 changed files with 2 additions and 2 deletions

View file

@ -153,7 +153,7 @@ export const paramDef = {
} }, } },
alsoKnownAs: { alsoKnownAs: {
type: 'array', type: 'array',
maxItems: 5, maxItems: 10,
uniqueItems: true, uniqueItems: true,
items: { type: 'string' }, items: { type: 'string' },
}, },

View file

@ -10,7 +10,7 @@
{{ i18n.ts._accountMigration.moveFromDescription }} {{ i18n.ts._accountMigration.moveFromDescription }}
</FormInfo> </FormInfo>
<div> <div>
<MkButton :disabled="accountAliases.length >= 5" inline style="margin-right: 8px;" @click="add"><i class="ti ti-plus"></i> {{ i18n.ts.add }}</MkButton> <MkButton :disabled="accountAliases.length >= 10" inline style="margin-right: 8px;" @click="add"><i class="ti ti-plus"></i> {{ i18n.ts.add }}</MkButton>
<MkButton inline primary @click="save"><i class="ti ti-check"></i> {{ i18n.ts.save }}</MkButton> <MkButton inline primary @click="save"><i class="ti ti-check"></i> {{ i18n.ts.save }}</MkButton>
</div> </div>
<div class="_gaps"> <div class="_gaps">