优化代码

This commit is contained in:
java110 2022-09-19 18:11:38 +08:00
parent 48456656d1
commit 999ca8bc1f

View File

@ -241,7 +241,7 @@
},
_freshPhotoOrVedio: function(_advertItems) {
if (!_advertItems || _advertItems.size() < 1) {
if (!_advertItems || _advertItems.length < 1) {
vc.emit('editAdvert', 'uploadImage', 'notifyPhotos', []);
}
//判断属性中是否有照片