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