问题描述:
我们使用的框架是vue,每次打包发版后客户打开页面需要重新读取spreadjs的资源文件,这个时间有时候可以长达20秒以上
是否可以把vue的spreadjs文件变成 单独的js文件, 不用每次发版都重新加载
页面中的调用方式
<gc-spread-sheets
:hostClass="'spreadHost'"
@workbookInitialized="initSpread"
@valueChanged="handleCellChange"
>
</gc-spread-sheets>
package文件
"dependencies": {
"@grapecity/spread-sheets-pivot-addon": "14.1.5",
"@grapecity/spread-sheets-tablesheet": "14.1.5",
"@grapecity/spread-excelio": "^11.2.3",
"@grapecity/spread-sheets": "^14.1.5",
"@grapecity/spread-sheets-barcode": "^14.2.4",
"@grapecity/spread-sheets-charts": "^14.2.4",
"@grapecity/spread-sheets-designer": "^14.2.4",
"@grapecity/spread-sheets-designer-resources-cn": "^14.1.5",
"@grapecity/spread-sheets-designer-vue": "^14.2.4",
"@grapecity/spread-sheets-languagepackages": "^14.2.4",
"@grapecity/spread-sheets-pdf": "^14.1.5",
"@grapecity/spread-sheets-print": "^14.1.5",
"@grapecity/spread-sheets-resources-zh": "^14.1.5",
"@grapecity/spread-sheets-shapes": "^14.2.4",
"@grapecity/spread-sheets-vue": "^14.1.5",
|