Commit 2ae3083e by 匡雅琴

bug修复

1 parent f8db0749
......@@ -36,7 +36,6 @@ export default {
},
methods: {
drawBarLine() {
console.log(this.dataList);
this.barLineOptions = {
xAxis: {
type: 'category',
......@@ -44,7 +43,7 @@ export default {
boundaryGap: true,//坐标轴两边留白
data: this.xAxisData,
axisLabel: { //坐标轴刻度标签的相关设置。
interval: this.linetype == 1 ? (this.dataList.length > 10 ? 4 : 0): 0,//设置为 1,表示『隔一个标签显示一个标签』
interval: this.linetype == 1 ? (this.dataList.length > 10 ? 1 : 0): 0,//设置为 1,表示『隔一个标签显示一个标签』
// margin:15,
textStyle: {
color: '#FFFFFF',
......
......@@ -121,7 +121,7 @@
:xAxisData="xAxisDataList"></LineCharts>
</div>
<div v-else class="empty-box">
<img src="../../assets/images/empty-status.png" alt="">
<img src="@/assets/images/empty-status.png" alt="">
<div>暂无里程数据</div>
</div>
</div>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!