Commit 01952550 by xinla

--no commit message

1 parent 944b69a4
<script> <script>
import * as echarts from 'echarts'
import { getDetail, getUserAddCustomerStat, download } from '@/api/drainageCode/staff' import { getDetail, getUserAddCustomerStat, download } from '@/api/drainageCode/staff'
export default { export default {
......
<script> <script>
import * as echarts from 'echarts'
import chinaJson from './jsonData/china.json' import chinaJson from './jsonData/china.json'
export default { export default {
render: function (createElement) { render: function (createElement) {
...@@ -84,8 +85,8 @@ export default { ...@@ -84,8 +85,8 @@ export default {
} }
max = max + 5 max = max + 5
const _this = this const _this = this
var myChart = this.$echarts.init(document.getElementById('main')) var myChart = echarts.init(document.getElementById('main'))
this.$echarts.registerMap('china', chinaJson) echarts.registerMap('china', chinaJson)
var option = { var option = {
tooltip: { tooltip: {
//数据格式化 //数据格式化
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!