Skip to content

Commit 156efca

Browse files
committed
fix: 修复保存清楚时间报错的缺陷
--bug=1048275 --user=王孝刚 【应用】有一个应用设置日志清除策略,提示“引用分段数”字段必填 https://www.tapd.cn/57709429/s/1601736
1 parent a576c38 commit 156efca

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

ui/src/locales/lang/zh_CN/views/application-overview.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export default {
4747
upload: '上传',
4848
default: '默认logo',
4949
custom: '自定义',
50-
sizeTip: '建议尺寸 32*32,支持 JPG、PNG, GIF,大小不超过 10 MB',
50+
sizeTip: '建议尺寸 32*32,支持 JPG、PNGGIF,大小不超过 10 MB',
5151
cancel: '取消',
5252
save: '保存',
5353
fileSizeExceeded: '文件大小超过 10 MB',

ui/src/views/application-overview/component/DisplaySettingDialog.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,15 @@
4444
action="#"
4545
:auto-upload="false"
4646
:show-file-list="false"
47-
accept="image/*"
47+
accept="image/jpeg, image/png, image/gif"
4848
:on-change="(file: any, fileList: any) => onChange(file, fileList, 'avatar')"
4949
>
5050
<el-button icon="Upload">{{
5151
$t('views.applicationOverview.appInfo.EditAvatarDialog.upload')
5252
}}</el-button>
5353
<template #tip>
5454
<div class="el-upload__tip info" style="margin-top: 0">
55-
建议尺寸 32*32,支持 JPG、PNG, GIF,大小不超过 10 MB
55+
建议尺寸 32*32,支持 JPG、PNGGIF,大小不超过 10 MB
5656
</div>
5757
</template>
5858
</el-upload>
@@ -81,15 +81,15 @@
8181
action="#"
8282
:auto-upload="false"
8383
:show-file-list="false"
84-
accept="image/*"
84+
accept="image/jpeg, image/png, image/gif"
8585
:on-change="(file: any, fileList: any) => onChange(file, fileList, 'float_icon')"
8686
>
8787
<el-button icon="Upload">{{
8888
$t('views.applicationOverview.appInfo.EditAvatarDialog.upload')
8989
}}</el-button>
9090
<template #tip>
9191
<div class="el-upload__tip info" style="margin-top: 0">
92-
建议尺寸 32*32,支持 JPG、PNG, GIF,大小不超过 10 MB
92+
建议尺寸 32*32,支持 JPG、PNGGIF,大小不超过 10 MB
9393
</div>
9494
</template>
9595
</el-upload>

ui/src/views/application-overview/component/EditAvatarDialog.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
action="#"
3838
:auto-upload="false"
3939
:show-file-list="false"
40-
accept="image/*"
40+
accept="image/jpeg, image/png, image/gif"
4141
:on-change="onChange"
4242
>
4343
<el-button icon="Upload" :disabled="radioType !== 'custom'">{{

0 commit comments

Comments
 (0)