后台GCEXCEL生成的ssjson,传到前台,spreadjs加载后显示不出图表,是少引了什么包吗,谢谢
右下角那个图没了
package.json部分代码
"@grapecity/spread-excelio": "^14.2.3",
"@grapecity/spread-sheets": "^14.2.3",
"@grapecity/spread-sheets-resources-zh": "^14.2.3",
"@grapecity/spread-sheets-vue": "^14.2.3",
"@grapecity/spread-sheets-charts": "^14.2.3",
在main.js里引用部分代码
import Vue from 'vue'
import '@grapecity/spread-sheets/styles/gc.spread.sheets.excel2013white.css'
import GC from '@grapecity/spread-sheets'
import '@grapecity/spread-sheets-resources-zh'
import '@grapecity/spread-sheets-vue'
import '@grapecity/spread-excelio'
import '@grapecity/spread-sheets-charts'
GC.Spread.Common.CultureManager.culture('zh-cn')
GC.Spread.Sheets.LicenseKey = ''
Vue.use(GC)
|