mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-05 05:29:29 +08:00
fix(系统设置): 用户导入文件大小提示
--bug=1027730 --user=王旭 【系统设置】github#25527,系统设置-用户上传文件 提示信息和实际上传的提示不匹配,看不出限制是多大 https://www.tapd.cn/55049933/s/1396813
This commit is contained in:
parent
63708cc82d
commit
908b32f7b1
@ -530,6 +530,7 @@ const message = {
|
||||
page_guidance: "Page guidance",
|
||||
novice_journey: "Novice Journey",
|
||||
minder_operation: "Minder Operation",
|
||||
upload_limit_size: "The size of the uploaded file cannot exceed 50M!",
|
||||
},
|
||||
login: {
|
||||
normal_Login: "Normal Login",
|
||||
|
@ -522,6 +522,7 @@ const message = {
|
||||
page_guidance: "页面指引",
|
||||
novice_journey: "新手旅程",
|
||||
minder_operation: "脑图操作",
|
||||
upload_limit_size: "上传文件大小不能超过 50M!",
|
||||
},
|
||||
login: {
|
||||
normal_Login: "普通登录",
|
||||
|
@ -521,6 +521,7 @@ const message = {
|
||||
page_guidance: "頁面指引",
|
||||
novice_journey: "新手旅程",
|
||||
minder_operation: "腦圖操作",
|
||||
upload_limit_size: "上傳文件大小不能超過 50M!",
|
||||
},
|
||||
login: {
|
||||
normal_Login: "普通登錄",
|
||||
|
@ -79,8 +79,8 @@ export default {
|
||||
this.$warning(this.$t('test_track.case.import.upload_limit_format'));
|
||||
return false;
|
||||
}
|
||||
if (file.size / 1024 / 1024 > 20) {
|
||||
this.$warning(this.$t('test_track.case.import.upload_limit_size'));
|
||||
if (file.size / 1024 / 1024 > 50) {
|
||||
this.$warning(this.$t('commons.upload_limit_size'));
|
||||
return false;
|
||||
}
|
||||
this.isLoading = true;
|
||||
|
Loading…
Reference in New Issue
Block a user