瀏覽代碼

style: linting fixes

tags/1.2.3
Shivam Mishra 6 年之前
父節點
當前提交
ece0015366
共有 2 個文件被更改,包括 3 次插入3 次删除
  1. +1
    -1
      docs/assets/js/demoConfig.js
  2. +2
    -2
      src/js/charts/DonutChart.js

+ 1
- 1
docs/assets/js/demoConfig.js 查看文件

@@ -51,4 +51,4 @@ export default {
}
}
}
}
};

+ 2
- 2
src/js/charts/DonutChart.js 查看文件

@@ -34,8 +34,8 @@ export default class DonutChart extends AggregationChart {
let s = this.state;
this.radius =
this.height > this.width
? this.center.x - this.strokeWidth / 2
: this.center.y - this.strokeWidth / 2;
? this.center.x - this.strokeWidth / 2
: this.center.y - this.strokeWidth / 2;

const { radius, clockWise } = this;



Loading…
取消
儲存