轮播图历史数据兼容
parent
905d3944b3
commit
82f73ff7de
|
|
@ -227,7 +227,7 @@
|
|||
if (!this.propIsCommon) {
|
||||
return '';
|
||||
}
|
||||
if (!isEmpty(form.carousel_list[actived_index].style.background_img)) {
|
||||
if (!isEmpty(form.carousel_list[actived_index]?.style?.background_img)) {
|
||||
return background_computer(form.carousel_list[actived_index].style);
|
||||
}
|
||||
return '';
|
||||
|
|
|
|||
|
|
@ -170,7 +170,7 @@
|
|||
return '';
|
||||
},
|
||||
get_swiper_bg_img_style(form, actived_index) {
|
||||
if (!isEmpty(form.carousel_list[actived_index].style.background_img)) {
|
||||
if (!isEmpty(form.carousel_list[actived_index]?.style?.background_img)) {
|
||||
return background_computer(form.carousel_list[actived_index].style);
|
||||
}
|
||||
return '';
|
||||
|
|
|
|||
Loading…
Reference in New Issue