fix: 图表options->option

This commit is contained in:
CaptainB 2021-10-27 11:10:42 +08:00 committed by 刘瑞斌
parent 1db8bf7579
commit 4f543a5fae
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
<common-monitor-chart> <common-monitor-chart>
<template> <template>
<div id="response-time-chart" :style="{ width:'100%',height:'100%' }"> <div id="response-time-chart" :style="{ width:'100%',height:'100%' }">
<chart :options="getOptions()" :style="{ width:'100%' }" v-on:click="click"></chart> <chart :option="getOptions()" :style="{ width:'100%' }" v-on:click="click"></chart>
</div> </div>
</template> </template>
</common-monitor-chart> </common-monitor-chart>

View File

@ -2,7 +2,7 @@
<common-monitor-chart> <common-monitor-chart>
<template> <template>
<div id="response-time-chart" :style="{ width:'100%',height:'100%' }"> <div id="response-time-chart" :style="{ width:'100%',height:'100%' }">
<chart :options="getOptions()" :style="{ width:'100%' }"></chart> <chart :option="getOptions()" :style="{ width:'100%' }"></chart>
</div> </div>
</template> </template>
</common-monitor-chart> </common-monitor-chart>