修改了一些eslint的配置。
This commit is contained in:
@@ -35,22 +35,22 @@ export default {
|
||||
//设置图表
|
||||
const initCharts = () =>
|
||||
{
|
||||
const chartDom = document.getElementById('chartWrapper');
|
||||
const chartDom = document.getElementById("chartWrapper");
|
||||
//@ts-ignore
|
||||
const myChart = echarts.init((chartDom));
|
||||
const option = {
|
||||
xAxis: {
|
||||
type: 'category',
|
||||
type: "category",
|
||||
data: ["一", "二", "三", "四", "五", "六", "七", "八", "九", "十", "十一", "十二",],
|
||||
},
|
||||
yAxis: {
|
||||
type: 'value',
|
||||
type: "value",
|
||||
data: [200, 400, 600, 800, 1000,],
|
||||
},
|
||||
series: [
|
||||
{
|
||||
data: [200, 230, 224, 218, 135, 147, 260,],
|
||||
type: 'line',
|
||||
type: "line",
|
||||
},
|
||||
],
|
||||
};
|
||||
|
Reference in New Issue
Block a user