Skip to content

Commit 6cd8186

Browse files
committed
【SDK】【Service】【解决样式参数缺失的问题】
1 parent 02eba60 commit 6cd8186

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/service/base/style/LineStyle.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import { extend } from '../../common/Util';
1+
import { extend } from '../../common';
22
import { mapgis } from '../common/base';
33
import { VectorStyle } from './VectorStyle';
4-
import { LineCap, LineJoin } from './Enum';
4+
import { Cap, Join } from './Enum';
55
import { Shadow } from './Shadow';
66
import { Graphic } from './Graphic';
77

@@ -23,8 +23,8 @@ export default class LineStyle extends VectorStyle {
2323
const {
2424
width = 1,
2525
dashArray,
26-
cap = LineCap.butt,
27-
join = LineJoin.miter,
26+
cap = Cap.butt,
27+
join = Join.miter,
2828
shadow,
2929
symbol
3030
} = options;

0 commit comments

Comments
 (0)