mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-24 05:46:03 +08:00
优化代码
This commit is contained in:
parent
d10a26ccae
commit
b6f2870658
@ -51,7 +51,14 @@
|
||||
}
|
||||
});
|
||||
vc.on("editAdvert", "notifyUploadImage", function(_param) {
|
||||
vc.component.editAdvertInfo.photos = _param;
|
||||
|
||||
if(!_param || _param.length<1){
|
||||
return;
|
||||
}
|
||||
vc.component.editAdvertInfo.photos = [];
|
||||
_param.forEach(item=>{
|
||||
vc.component.editAdvertInfo.photos.push(item.fileId)
|
||||
});
|
||||
});
|
||||
vc.on("editAdvert", "notifyUploadVedio", function(_param) {
|
||||
vc.component.editAdvertInfo.vedioName = _param.realFileName;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user