你好,给ExcelIO单独授权,我目前用的13.06版本
以下是两种版本的写法,13版本的可以这么写吗
以下是14.0版本
import GC from '@grapecity/spread-sheets'
import * as Excel from "@grapecity/spread-excelio"
import * as FileSaver from "file-saver"
GC.Spread.Sheets.LicenseKey = Excel.LicenseKey = "yourkey";
以下是13.06版本
import GC from '@grapecity/spread-sheets'
import ExcelIO from "@grapecity/spread-excelio";
import FileSaver from "file-saver";
GC.Spread.Sheets.LicenseKey = ExcelIO.LicenseKey = "yourkey"; |