@@ -96,6 +96,7 @@
</template>
<script>
+ import dayjs from "dayjs";
import { huiJiaApi } from "@/api"
import * as echarts from "echarts"
@@ -197,6 +198,9 @@
color: "rgba(160, 179, 214, 0.7)",
fontSize: 11,
interval: 0,
+ formatter: (value) => {
+ return dayjs(value).format("YY-MM")
+ }
},
axisTick: {
show: false,