fix: 修复上传图片返回的错误信息,修复登录跳转的转跳函数 (#1340)
* fix : 修改登录转跳是replace * fix:修复上传图片组件的 报错 --------- Co-authored-by: 陶正虎 <zhenghu.tao@jutze.com.cn>
This commit is contained in:
committed by
GitHub
co-authored by
陶正虎
parent
e03efc33d7
commit
26d32c02ea
@@ -36,7 +36,7 @@ const checkFile = (file) => {
|
||||
fullscreenLoading.value = false
|
||||
}
|
||||
if (!isLt2M) {
|
||||
ElMessage.error('未压缩未见上传图片大小不能超过 500KB,请使用压缩上传')
|
||||
ElMessage.error('未压缩的上传图片大小不能超过 500KB,请使用压缩上传')
|
||||
fullscreenLoading.value = false
|
||||
}
|
||||
return (isPng || isJPG) && isLt2M
|
||||
|
||||
Reference in New Issue
Block a user