fix(cert): 注册 LineChart,修复折线/面积图不渲染

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-06-29 17:04:21 +08:00
parent 94abe0f16f
commit 9d99fa386d

View File

@@ -297,12 +297,12 @@
<script>
import { use } from 'echarts/core'
import { CanvasRenderer } from 'echarts/renderers'
import { BarChart } from 'echarts/charts'
import { BarChart, LineChart } from 'echarts/charts'
import { GridComponent, TooltipComponent } from 'echarts/components'
import VChart from 'vue-echarts'
import { getProductionRecords, createProductionRecord, updateProductionRecord } from '@/api'
use([CanvasRenderer, BarChart, GridComponent, TooltipComponent])
use([CanvasRenderer, BarChart, LineChart, GridComponent, TooltipComponent])
const STATUS_MAP = {
UNWEIGH: { label: '未称重', badge: 'badge-yellow' },