import React from 'react'
import PropTypes from 'prop-types';
import { connect } from 'apollo'
import '@grapecity/spread-sheets/styles/gc.spread.sheets.excel2016colorful.css';
import { Layout, Modal, Menu, Icon, Button, Form, Input, Radio, Row, Col, Upload } from 'antd';
import { SpreadSheets, Worksheet, Column } from '@grapecity/spread-sheets-react';
import GC from '@grapecity/spread-sheets'
import GCExcelio from '@grapecity/spread-excelio'
import '@grapecity/spread-sheets-resources-zh'
import '@grapecity/spread-sheets-print'
import '@grapecity/spread-sheets-pdf'
import { saveAs } from 'file-saver'
import { config } from 'utils'
import * as d3 from 'd3'
import styles from './spreadView.less'
GC.Spread.Common.CultureManager.culture('zh-cn');
GC.Spread.Sheets.LicenseKey = GCExcelio.LicenseKey = '........';
这么写了还是不行,跟刚才的错一样
|