升级了11版本后 发现
loadjs(`${env.host}dist/assets/js/spreadJS/gc.spread.sheets.excel2013lightGray.11.2.2.css`)
loadjs(`${env.host}dist/assets/js/spreadJS/gc.spread.sheets.all.11.2.2.min.js`,{
success: () => {
this.spread = new GC.Spread.Sheets.Workbook(this.refs.spreadRef, {
sheetCount: 1,
newTabVisible: false,
tabEditable: false
})
this.initSpread(props)
},
async: false
})
loadjs(`${env.host}dist/assets/js/spreadJS/gc.spread.sheets.resources.zh.11.2.2.min.js`,{
success: () => {
console.log("中文")
},
async: false
})引入了中文的js 右键菜单仍显示
|