Skip to content
New issue

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

导出功能有了吗?为啥addSheet is not a function #96

Open
william-1992 opened this issue Sep 15, 2023 · 0 comments
Open

导出功能有了吗?为啥addSheet is not a function #96

william-1992 opened this issue Sep 15, 2023 · 0 comments

Comments

@william-1992
Copy link

为啥我试了,不行呢,报错Uncaught TypeError: excel.addSheet is not a function
const excel = new LuckyExcel();
const sheet = excel.addSheet('Sheet1'); // 添加一个名为 "Sheet1" 的工作表
sheet.setData(data); // 设置数据
excel.save('导出的文件名.xlsx');

@william-1992 william-1992 changed the title 导出功能有了吗 导出功能有了吗?为啥addSheet is not a function Sep 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant