Commit 734bc9be by guojuxing

页面装修,如果前端没有传组建,则清空

parent 02e80698
......@@ -153,9 +153,10 @@ public class AppletCustomPageApiServiceImpl implements AppletCustomPageApiServic
if (pageType == AppletPageTypeEnum.MEMBER_CENTER.getCode()) {
this.customStoreApiService.customSettingHasCommpleted(enterpriseId);
}
//先删除
appletPageComponentService.deleteByPageId(pageId);
if (CollectionUtils.isNotEmpty(componentList)) {
//先删除
appletPageComponentService.deleteByPageId(pageId);
appletPageComponentService.saveFetch(componentList);
}
return ServiceResponse.success(pageId);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment