Skip to content
This repository has been archived by the owner on Mar 28, 2024. It is now read-only.

[BUG]luckysheet.setCellFormat #361

Closed
Dushusir opened this issue Dec 17, 2020 · 0 comments
Closed

[BUG]luckysheet.setCellFormat #361

Dushusir opened this issue Dec 17, 2020 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Dushusir
Copy link
Member

描述错误
luckysheet.setCellFormat()问题

重现
重现错误的步骤:
问题一:
1.第一步操作:打开https://mengshukeji.github.io/LuckyexcelDemo/
2.第二步操作:控制台输入 luckysheet.setCellFormat(1,1,'bg','#ff0000',{order:1})
3.第三步操作:报错Uncaught TypeError: Cannot set property 'bg' of null
at Object.setCellFormat (api.js:349)
at :1:12

屏幕截图或演示
image

问题二:
重现错误的步骤:
1.第一步操作:打开https://mengshukeji.github.io/LuckysheetDemo/
2.第二步操作:控制台输入 luckysheet.setCellFormat(1,1,'bg','#ff0000',{order:1})
3. 出现:处理order 1页,但是当前sheet页未切换成功

屏幕截图或演示

image

问题三:
重现错误的步骤:
1.第一步操作:打开https://mengshukeji.github.io/LuckysheetDemo/
2.第二步操作:控制台输入 luckysheet.setCellFormat(1,1,'bg','#ff0000',{order:15})
3.指定超出现有sheet数据的order报错,应该做参数兼容
屏幕截图或演示
image

环境:
-操作系统:Windows
-浏览器 版本号:Edge
-Luckysheet版本:最新

备注
其他说明

@Dushusir Dushusir added the bug Something isn't working label Dec 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants