Luckysheet icon indicating copy to clipboard operation
Luckysheet copied to clipboard

[BUG] api setCellValue sheet1 单元格输入值,切换到新sheet后 通过api setCellValue 设置公式是表格数据发生错乱。

Open apple02180503 opened this issue 11 months ago • 1 comments

Describe the bug

api setCellValue sheet1 单元格输入值,切换到新sheet后 通过api setCellValue 设置公式是表格数据发生错乱。

To Reproduce

  1. The first step: 添加add按钮,并编写通过api新增行脚本。 image

  2. The second step: 在“cell” sheet 任意单元格 输入任意值 image

3.The third step: 切换sheet到“Formula”sheet image 4.The third step: 点击add 按钮的结果, 5. See error: sheet会自动切换到第第一次修改cell的sheet 同时 “Formula”sheet 显示内容变成了“cell”sheet 的内容 image image

What is expected?

api setCellValue 多sheet进行操作时能够正常显示 Screenshots or demo

Environment

  • OS: Windows
  • Browser Version: Chrome Version 115.0.5790.170 ,Edge
  • Luckysheet Version: latest

Additional context

apple02180503 avatar Aug 03 '23 04:08 apple02180503