fix(cert): 注册 LineChart,修复折线/面积图不渲染
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -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' },
|
||||
|
||||
Reference in New Issue
Block a user