本帖最后由 Felix.Li 于 2022-10-13 14:11 编辑
参照示例 https://demo.grapecity.com.cn/activereportsjs/docs/GettingStarted/QuickStart/QuickStart-React
报错信息如下:
Failed to compile.
Attempted import error: 'kanjidate' does not contain a default export (imported as 'kanjidate').
ERROR in ./node_modules/@grapecity/activereports/lib/node_modules/@grapecity/ar-js-pagereport.js 1418:20-38
export 'default' (imported as 'kanjidate') was not found in 'kanjidate' (possible exports: f1, f10, f11, f12, f13, f14, f2, f3, f4, f5, f6, f7, f8, f9, fSqlDate, fSqlDateTime, format, fromGengou, toGengou, toYoubi)
ERROR in ./node_modules/@grapecity/activereports/lib/node_modules/@grapecity/ar-js-pagereport.js 1421:77-95
export 'default' (imported as 'kanjidate') was not found in 'kanjidate' (possible exports: f1, f10, f11, f12, f13, f14, f2, f3, f4, f5, f6, f7, f8, f9, fSqlDate, fSqlDateTime, format, fromGengou, toGengou, toYoubi)
webpack compiled with 2 errors
|
|