dream-num / univer

Univer is an open-source alternative to Google Sheets, Slides, and Docs

Home Page:https://univer.ai

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug] After destroying the workbook instance and then creating a new instance, you will not be able to create a new sheet.

qingnianz opened this issue · comments

在您提交此问题之前,您是否检查了以下内容?

  • 这真的是个问题吗?
  • 我已经在 Github Issues 中搜索过了,但没有找到类似的问题。

受影响的包和版本

0.1.16

复现链接

demo地址:https://github.com/qingnianz/univer-demo.git
复现视频:

2024-06-26.18.06.52.mov

预期行为

销毁sheet实例后新创建的实例应该正常切换左下角的sheet tab

实际行为

销毁sheet实例后新创建的实例无法正常切换左下角的sheet tab

运行环境

Chrome

系统信息

System:
OS: macOS 14.5
CPU: (10) arm64 Apple M2 Pro
Memory: 2.46 GB / 32.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 20.7.0 - /opt/homebrew/bin/node
Yarn: 1.22.19 - /opt/homebrew/bin/yarn
npm: 10.1.0 - /opt/homebrew/bin/npm
pnpm: 8.8.0 - ~/Library/pnpm/pnpm
Browsers:
Chrome: 126.0.6478.126
Safari: 17.5

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿

Origin Title: [Bug] 销毁工作簿实例后再创建新实例将无法新建sheet

Title: [Bug] After destroying the workbook instance and then creating a new instance, you will not be able to create a new sheet.


Before you submitted this question, did you check the following?

  • Is this really a problem?
  • I've searched Github Issues but haven't found any similar issues.

Affected packages and versions

0.1.16

Recurrence link

Demo address: https://github.com/qingnianz/univer-demo.git
Reproduction video:

2024-06-26.18.06.52.mov

Expected behavior

After destroying the sheet instance, the newly created instance should switch the sheet tab in the lower left corner normally.

Actual behavior

After destroying the sheet instance, the newly created instance cannot switch the sheet tab in the lower left corner normally.

Running environment

Chrome

system message

System:
OS: macOS 14.5
CPU: (10) arm64 Apple M2 Pro
Memory: 2.46 GB / 32.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 20.7.0 - /opt/homebrew/bin/node
Yarn: 1.22.19 - /opt/homebrew/bin/yarn
npm: 10.1.0 - /opt/homebrew/bin/npm
pnpm: 8.8.0 - ~/Library/pnpm/pnpm
Browsers:
Chrome: 126.0.6478.126
Safari: 17.5