1金币
最佳答案升级v14之后您需要用import * as x from "modulePath"这种写法,参考这篇文章
https://gcdn.grapecity.com.cn/forum.php?mod=viewthread&tid=82807
授权可以用
(ExcelIO as any).LicenseKey = "myLicenseKey";
| |
点评
之前是(import * as Excel from "@grapecity/spread-excelio")然后尝试了Excel.IO.LicenseKey所以不行,虽然已经解决了,但还是非常感谢!
| |
| |