diff --git a/src/platforms/h5/view/components/map/index.vue b/src/platforms/h5/view/components/map/index.vue index 1f2baeea269fb1f1697e6dfd50a79505da32f9d6..c6248fd2e70f71518e03c245d7539a84353ecaf3 100644 --- a/src/platforms/h5/view/components/map/index.vue +++ b/src/platforms/h5/view/components/map/index.vue @@ -752,9 +752,9 @@ export default { center, clickable: false, radius: option.radius, - strokeWeight: option.strokeWidth, - fillColor: getColor(option.fillColor), - strokeColor: getColor(option.color), + strokeWeight: Number(option.strokeWidth) || 1, + fillColor: getColor(option.fillColor) || getColor('#00000001'), + strokeColor: getColor(option.color) || '#000000', strokeDashStyle: 'solid' }) circles.push(circle)