提交 c6312d04 编写于 作者: Y yurj26

fix(h5): 高度地图设置fillColor透明度不生效 (question/159809)

上级 6bcc85d9
......@@ -9308,7 +9308,7 @@ const MapCircle = /* @__PURE__ */ defineSystemComponent({
strokeWeight: Number(option.strokeWidth) || 1,
strokeDashStyle: "solid"
};
if (getIsAMap() || getIsBMap()) {
if (getIsBMap()) {
circleOptions.strokeColor = option.color;
circleOptions.fillColor = option.fillColor || "#000";
circleOptions.fillOpacity = 1;
......
......@@ -17786,7 +17786,7 @@ const MapCircle = /* @__PURE__ */ defineSystemComponent({
strokeWeight: Number(option.strokeWidth) || 1,
strokeDashStyle: "solid"
};
if (getIsAMap() || getIsBMap()) {
if (getIsBMap()) {
circleOptions.strokeColor = option.color;
circleOptions.fillColor = option.fillColor || "#000";
circleOptions.fillOpacity = 1;
......
......@@ -9308,7 +9308,7 @@ const MapCircle = /* @__PURE__ */ defineSystemComponent({
strokeWeight: Number(option.strokeWidth) || 1,
strokeDashStyle: "solid"
};
if (getIsAMap() || getIsBMap()) {
if (getIsBMap()) {
circleOptions.strokeColor = option.color;
circleOptions.fillColor = option.fillColor || "#000";
circleOptions.fillOpacity = 1;
......
......@@ -17760,7 +17760,7 @@ const MapCircle = /* @__PURE__ */ defineSystemComponent({
strokeWeight: Number(option.strokeWidth) || 1,
strokeDashStyle: "solid"
};
if (getIsAMap() || getIsBMap()) {
if (getIsBMap()) {
circleOptions.strokeColor = option.color;
circleOptions.fillColor = option.fillColor || "#000";
circleOptions.fillOpacity = 1;
......
......@@ -57,7 +57,7 @@ export default /*#__PURE__*/ defineSystemComponent({
strokeWeight: Number(option.strokeWidth) || 1,
strokeDashStyle: 'solid',
}
if (getIsAMap() || getIsBMap()) {
if (getIsBMap()) {
circleOptions.strokeColor = option.color
circleOptions.fillColor = option.fillColor || '#000'
circleOptions.fillOpacity = 1
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册