no message

Former-commit-id: 71852ea5a6a0d2931cd7f0113fe99c7a8ded5170
Former-commit-id: b759c8efc867db77dcec157a1cae855b75faac1f
Former-commit-id: 97f3320fd1c171cf6f2d805c88e6408fd1e3c260
This commit is contained in:
李杨
2018-02-19 13:32:10 +08:00
parent 23719d6b91
commit 60713277e7
4 changed files with 44 additions and 39 deletions

View File

@@ -0,0 +1,42 @@
<template>
<Container type="ghost" :responsive="true">
<el-row :gutter="20">
<el-col :span="6">
<ChartDemoControl
@sync="syncData"
:height.sync="height">
</ChartDemoControl>
</el-col>
<el-col :span="18">
<el-card>
<div :style="style">
<G2AreaBase ref="chart" v-bind="chart"></G2AreaBase>
</div>
</el-card>
</el-col>
</el-row>
</Container>
</template>
<script>
import publicMixin from './mixins/public'
export default {
mixins: [
publicMixin
],
data () {
return {
api: {
url: '/api/chart/G2Area',
data: {
type: 'base'
}
},
chart: {
data: []
}
}
}
}
</script>

View File

@@ -1,42 +1,5 @@
<template>
<Container type="ghost" :responsive="true">
<el-row :gutter="20">
<el-col :span="6">
<ChartDemoControl
@sync="syncData"
:height.sync="height">
</ChartDemoControl>
</el-col>
<el-col :span="18">
<el-card>
<div :style="style">
<G2AreaBase ref="chart" v-bind="chart"></G2AreaBase>
</div>
</el-card>
</el-col>
</el-row>
Hello
</Container>
</template>
<script>
import publicMixin from './mixins/public'
export default {
mixins: [
publicMixin
],
data () {
return {
api: {
url: '/api/chart/G2Area',
data: {
type: 'base'
}
},
chart: {
data: []
}
}
}
}
</script>