代码调整

This commit is contained in:
joylink_cuiweidong 2021-04-09 18:36:09 +08:00
parent 00887b7409
commit da024251de

View File

@ -0,0 +1,17 @@
import Arc from 'zrender/src/graphic/shape/Arc';
export default class ArcShape extends Arc {
constructor(opts) {
opts.shape.startAngle = Math.PI / 180 * opts.shape.startAngle;
opts.shape.endAngle = Math.PI / 180 * opts.shape.endAngle;
super(opts);
}
setStyle(style) {
super.setStyle(style);
}
attr(key, value) {
super.attr(key, value);
}
}