mirror of
https://github.com/zuiidea/antd-admin
synced 2026-10-20 22:43:43 +00:00
remove dep highcharts-more/highcharts-exporting
This commit is contained in:
@@ -14,8 +14,6 @@
|
|||||||
"echarts-for-react": "^2.0.8",
|
"echarts-for-react": "^2.0.8",
|
||||||
"echarts-gl": "^1.1.0",
|
"echarts-gl": "^1.1.0",
|
||||||
"echarts-liquidfill": "^2.0.0",
|
"echarts-liquidfill": "^2.0.0",
|
||||||
"highcharts-exporting": "^0.1.2",
|
|
||||||
"highcharts-more": "^0.1.2",
|
|
||||||
"jsonp": "^0.2.1",
|
"jsonp": "^0.2.1",
|
||||||
"lodash": "^4.17.5",
|
"lodash": "^4.17.5",
|
||||||
"nprogress": "^0.2.0",
|
"nprogress": "^0.2.0",
|
||||||
|
|||||||
@@ -1,10 +1,8 @@
|
|||||||
import React from 'react'
|
import React from 'react'
|
||||||
import ReactHighcharts from 'react-highcharts'
|
import ReactHighcharts from 'react-highcharts'
|
||||||
import highchartsMore from 'highcharts-more'
|
|
||||||
import highchartsExporting from 'highcharts-exporting'
|
|
||||||
|
|
||||||
highchartsMore(ReactHighcharts.Highcharts)
|
require ('highcharts-more')(ReactHighcharts.Highcharts)
|
||||||
highchartsExporting(ReactHighcharts.Highcharts)
|
require ('highcharts-exporting')(ReactHighcharts.Highcharts)
|
||||||
|
|
||||||
const config = {
|
const config = {
|
||||||
chart: {
|
chart: {
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ const User = ({
|
|||||||
item: modalType === 'create' ? {} : currentItem,
|
item: modalType === 'create' ? {} : currentItem,
|
||||||
visible: modalVisible,
|
visible: modalVisible,
|
||||||
maskClosable: false,
|
maskClosable: false,
|
||||||
confirmLoading: loading.effects['user/update'],
|
confirmLoading: loading.effects[`user/${modalType}`],
|
||||||
title: `${modalType === 'create' ? 'Create User' : 'Update User'}`,
|
title: `${modalType === 'create' ? 'Create User' : 'Update User'}`,
|
||||||
wrapClassName: 'vertical-center-modal',
|
wrapClassName: 'vertical-center-modal',
|
||||||
onOk (data) {
|
onOk (data) {
|
||||||
|
|||||||
Reference in New Issue
Block a user