修改bug
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<!--
|
||||
* @Author: zhp
|
||||
* @Date: 2024-06-20 16:13:52
|
||||
* @LastEditTime: 2024-06-24 08:46:46
|
||||
* @LastEditTime: 2024-06-25 10:49:34
|
||||
* @LastEditors: zhp
|
||||
* @Description:
|
||||
-->
|
||||
@@ -9,9 +9,9 @@
|
||||
<div>
|
||||
<!-- 暂无数据 -->
|
||||
<div class="no-data-bg" style="position: relative; left: 50%; transform: translateX(-50%)"
|
||||
v-show="this.chartMsg.series.length === 0"></div>
|
||||
v-show="this.chartMsg.series[0].data.length === 0"></div>
|
||||
<!-- 图例 -->
|
||||
<div v-show="this.chartMsg.series.length > 0">
|
||||
<div v-show="this.chartMsg.series[0].data.length > 0">
|
||||
<div class="legendData" v-if="show">
|
||||
<span class="itemData" v-for="item in legendList" :key="item.id">
|
||||
<span v-if="item.type === 1" class="block" :style="{ backgroundColor: item.color }"></span>
|
||||
@@ -36,7 +36,7 @@ export default {
|
||||
color: [],
|
||||
// color: ["#8EF0AB", "#63BDFF", "#288AFF"],
|
||||
grid: {
|
||||
left: 30,
|
||||
left: 60,
|
||||
right: 0,
|
||||
bottom: 30,
|
||||
top: 30,
|
||||
@@ -83,7 +83,7 @@ export default {
|
||||
dataZoom: [//滚动条
|
||||
{
|
||||
// 设置滚动条的隐藏与显示
|
||||
show: false,
|
||||
show: true,
|
||||
// 设置滚动条类型
|
||||
type: "slider",
|
||||
// 设置背景颜色
|
||||
|
||||
Reference in New Issue
Block a user