Skip to content

Commit

Permalink
fix(缺陷管理): 缺陷附件文案修改
Browse files Browse the repository at this point in the history
--bug=1036187 --user=宋昌昌 【缺陷管理】创建/编辑缺陷-添加附件-大小限制为50MB https://www.tapd.cn/55049933/s/1465889
  • Loading branch information
song-cc-rock authored and fit2-zhao committed Feb 27, 2024
1 parent a8b2a5e commit d2564b2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion frontend/src/components/business/ms-add-attachment/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
<a-upload
ref="uploadRef"
v-model:file-list="innerFileList"
:limit="50"
:auto-upload="false"
:show-file-list="false"
:before-upload="beforeUpload"
Expand All @@ -30,7 +31,7 @@
</a-dropdown>
</div>
<div class="!hover:bg-[rgb(var(--primary-1))] !text-[var(--color-text-4)]">
{{ t('system.orgTemplate.addAttachmentTip') }}
{{ t('bugManagement.edit.addAttachmentTip') }}
</div>
</div>
</a-form-item>
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/views/bug-management/locale/en-US.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export default {
defaultSystemTemplate: 'System template is defaulted',
content: 'Bug content',
file: 'Attachment files',
fileExtra: 'Max of file is 500MB',
fileExtra: 'Max of file is 50MB',
pleaseInputBugName: 'Please input bug name',
nameIsRequired: 'Bug name cannot be empty',
pleaseInputBugContent: 'Please input bug content',
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/views/bug-management/locale/zh-CN.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export default {
defaultSystemTemplate: '默认为系统模板',
content: '缺陷内容',
file: '附件',
fileExtra: '支持任意类型文件,单个文件大小不超过 500MB',
fileExtra: '支持任意类型文件,单个文件大小不超过 50MB',
pleaseInputBugName: '请输入缺陷名称',
nameIsRequired: '缺陷名称不能为空',
pleaseInputBugContent: '请输入缺陷内容',
Expand Down

0 comments on commit d2564b2

Please sign in to comment.