mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-27 08:29:59 +08:00
优化代码
This commit is contained in:
parent
71727de57e
commit
48456656d1
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user