fix:修改pc采集人脸判断代码重复问题
This commit is contained in:
parent
1781f0ccce
commit
cea8ecc1e6
@ -2810,12 +2810,6 @@ export default {
|
||||
this.$message.error("图片裁剪后大小不能超过200kb小于10kb,请重新裁剪或重新上传图片!");
|
||||
return false;
|
||||
}
|
||||
let imgSize = Number(res.data.data[0].fileInfo.size / 1024);
|
||||
console.log('经过vueCropper裁剪后', imgSize);
|
||||
if (imgSize <= 10 || imgSize >= 200) {
|
||||
this.$message.error("图片裁剪后大小不能超过200kb小于10kb,请重新裁剪或重新上传图片!");
|
||||
return false;
|
||||
}
|
||||
if (res.data.status == "SUCCESS") {
|
||||
if (this.isSzProject == 1) {
|
||||
this.checkImgLibrary(res.data.data[0].imageUrl);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user