fix: 图表options->option
This commit is contained in:
parent
1db8bf7579
commit
4f543a5fae
|
@ -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>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue