feat(批量添加弹窗): 追加标签提示

This commit is contained in:
baiqi 2024-07-10 18:09:30 +08:00 committed by 刘瑞斌
parent 8e38599b2b
commit 610104eb25
8 changed files with 8 additions and 0 deletions

View File

@ -1,4 +1,5 @@
export default { export default {
'ms.tagsInput.tagsDuplicateText': 'Same label already exists', 'ms.tagsInput.tagsDuplicateText': 'Same label already exists',
'ms.tagsInput.tagsInputPlaceholder': 'Add tag and press Enter to end', 'ms.tagsInput.tagsInputPlaceholder': 'Add tag and press Enter to end',
'ms.tagsInput.tagLimitTip': 'There is a limit of 10 tags, excess tags will not be added',
}; };

View File

@ -1,4 +1,5 @@
export default { export default {
'ms.tagsInput.tagsDuplicateText': '已存在相同的标签', 'ms.tagsInput.tagsDuplicateText': '已存在相同的标签',
'ms.tagsInput.tagsInputPlaceholder': '添加标签,回车结束', 'ms.tagsInput.tagsInputPlaceholder': '添加标签,回车结束',
'ms.tagsInput.tagLimitTip': '标签限制10个超出的标签不会被添加',
}; };

View File

@ -158,6 +158,7 @@
unique-value unique-value
retain-input-value retain-input-value
/> />
<div class="text-[12px] leading-[20px] text-[var(--color-text-4)]">{{ t('ms.tagsInput.tagLimitTip') }}</div>
</a-form-item> </a-form-item>
<a-form-item <a-form-item
v-else v-else

View File

@ -208,6 +208,7 @@
unique-value unique-value
retain-input-value retain-input-value
/> />
<div class="text-[12px] leading-[20px] text-[var(--color-text-4)]">{{ t('ms.tagsInput.tagLimitTip') }}</div>
</a-form-item> </a-form-item>
<a-form-item <a-form-item
v-else v-else

View File

@ -137,6 +137,7 @@
unique-value unique-value
retain-input-value retain-input-value
/> />
<div class="text-[12px] leading-[20px] text-[var(--color-text-4)]">{{ t('ms.tagsInput.tagLimitTip') }}</div>
</a-form-item> </a-form-item>
<a-form-item <a-form-item
v-else v-else

View File

@ -350,6 +350,7 @@
unique-value unique-value
retain-input-value retain-input-value
/> />
<div class="text-[12px] leading-[20px] text-[var(--color-text-4)]">{{ t('ms.tagsInput.tagLimitTip') }}</div>
</a-form-item> </a-form-item>
<a-form-item <a-form-item
v-else-if="batchForm.attr === 'Priority'" v-else-if="batchForm.attr === 'Priority'"

View File

@ -38,6 +38,7 @@
:rules="[{ required: true, message: t('caseManagement.featureCase.PleaseInputTags') }]" :rules="[{ required: true, message: t('caseManagement.featureCase.PleaseInputTags') }]"
> >
<MsTagsInput v-model:modelValue="form.tags" allow-clear></MsTagsInput> <MsTagsInput v-model:modelValue="form.tags" allow-clear></MsTagsInput>
<div class="text-[12px] leading-[20px] text-[var(--color-text-4)]">{{ t('ms.tagsInput.tagLimitTip') }}</div>
</a-form-item> </a-form-item>
<MsFormCreate <MsFormCreate

View File

@ -34,6 +34,7 @@
required required
> >
<MsTagsInput v-model:modelValue="form.tags" allow-clear></MsTagsInput> <MsTagsInput v-model:modelValue="form.tags" allow-clear></MsTagsInput>
<div class="text-[12px] leading-[20px] text-[var(--color-text-4)]">{{ t('ms.tagsInput.tagLimitTip') }}</div>
</a-form-item> </a-form-item>
<a-form-item <a-form-item
v-else v-else