We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
初始化使用 loadData() 可以正常切換多個 sheet,但我想要做導入 Excel 的功能,所以點了按鈕之後才使用 loadData()
loadData()
init = () => { spreadsheet.value = new Spreadsheet(spreadsheetContainer.value as HTMLDivElement, { showToolbar: true, showGrid: true, view: { width: () => props.mainWidth, height: () => props.mainHeight }, row: { len: 500, height: 25 } }) } onClick = () => { spreadsheet.value.loadData(workbook.value) }
結果要切換不同工作表時,就出現錯誤
Cannot destructure property 'rows' of 'this.data' as it is undefined.
目前看起來是沒有取到 this.data,導致後續問題
有人碰過類似的問題嗎?
目前想到比較爛的解法是先銷毀再創建實例,但我也沒找到銷毀的方法 ....
The text was updated successfully, but these errors were encountered:
我也遇到了这个问题,请问最后解决了吗
Sorry, something went wrong.
No branches or pull requests
初始化使用
loadData()
可以正常切換多個 sheet,但我想要做導入 Excel 的功能,所以點了按鈕之後才使用loadData()
結果要切換不同工作表時,就出現錯誤
目前看起來是沒有取到 this.data,導致後續問題
有人碰過類似的問題嗎?
目前想到比較爛的解法是先銷毀再創建實例,但我也沒找到銷毀的方法 ....
The text was updated successfully, but these errors were encountered: