修改历史数据兼容问题

master
于肖磊 2024-12-02 14:05:55 +08:00
parent bed6a2c23a
commit 0471d134fc
1 changed files with 1 additions and 1 deletions

View File

@ -287,7 +287,7 @@
direction: new_style?.location_direction || '',
}
const height = 32 - location_margin.margin_top - location_margin.margin_bottom;
return gradient_computer(style) + radius_computer(location_radius) + `color: ${new_style?.location_color || ''};height: ${ height * 2}rpx;line-height: ${height * 2}rpx;`;
return gradient_computer(style) + radius_computer(location_radius) + `color: ${!isEmpty(new_style.location_color) ? new_style.location_color : new_style?.position_color || ''};height: ${ height * 2}rpx;line-height: ${height * 2}rpx;`;
},
//
get_style_location_img_container(new_style){