From 48456656d1b736317b269c06cf3b63d3c7bac93c Mon Sep 17 00:00:00 2001 From: java110 <928255095@qq.com> Date: Mon, 19 Sep 2022 18:06:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/components/property/editAdvert/editAdvert.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/public/components/property/editAdvert/editAdvert.js b/public/components/property/editAdvert/editAdvert.js index e8a3aa6f6..f3a4d0a04 100755 --- a/public/components/property/editAdvert/editAdvert.js +++ b/public/components/property/editAdvert/editAdvert.js @@ -240,6 +240,10 @@ ); }, _freshPhotoOrVedio: function(_advertItems) { + + if (!_advertItems || _advertItems.size() < 1) { + vc.emit('editAdvert', 'uploadImage', 'notifyPhotos', []); + } //判断属性中是否有照片 _advertItems.forEach(function(_item) { vc.component.editAdvertInfo.viewType = _item.itemTypeCd;