Commit 04e36e36 by zhangquan

修改bug

1 parent 0033fae5
......@@ -43,6 +43,7 @@ export default {
this.barLineOptions = {
grid: {
right: '19%',
left: '15%'
},
xAxis: {
type: 'category',
......@@ -53,7 +54,7 @@ export default {
fontSize: 10,
lineHeight: 16
},
boundaryGap: true,//坐标轴两边留白
boundaryGap: false,//坐标轴两边留白
data: this.xAxisData,
axisLabel: { //坐标轴刻度标签的相关设置。
interval: this.linetype == 1 ? (this.dataList.length > 10 ? 1 : 0): 0,//设置为 1,表示『隔一个标签显示一个标签』
......
......@@ -119,7 +119,7 @@
:xAxisData="xAxisDataList" :lineChartsYear="lineChartsYear"></LineCharts>
</div>
<div v-else class="empty-box">
<img src="@/assets/images/empty-status.png" alt="">
<img src="https://wx.glsx.com.cn/upload/biz/501829f0-6c34-443c-bf56-ae94072a6619.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!