refactor:add keep-alive && component add name
This commit is contained in:
@@ -1,16 +1,17 @@
|
||||
<template>
|
||||
<div class="components-container" style='height:100vh'>
|
||||
<div class='chart-container'>
|
||||
<line-marker height='100%' width='100%'></line-marker>
|
||||
<chart height='100%' width='100%'></chart>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import lineMarker from '@/components/Charts/lineMarker'
|
||||
import Chart from '@/components/Charts/lineMarker'
|
||||
|
||||
export default {
|
||||
components: { lineMarker }
|
||||
name: 'lineChart',
|
||||
components: { Chart }
|
||||
}
|
||||
</script>
|
||||
|
||||
|
Reference in New Issue
Block a user