univer icon indicating copy to clipboard operation
univer copied to clipboard

[Bug] When multiple univer instances are initialized, the behavior data is confusing.

Open Qsh-yh opened this issue 10 months ago • 2 comments

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

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

受影响的包和版本

0.1.7

复现链接

https://univer.ai/playground/?title=Multi%20Instance

预期行为

多实例的行为、数据不应该相互影响。例:在nuive1中A1=123,B1=A1=123。在nuive2中A1=234,B1=A1=234

实际行为

多实例的行为、数据相互影响了。例:在nuive1中A1=123,B1=A1=123。在nuive2中A1=234,B1=A1=123。这里的nuive2中B1单元格中=A1,取的是nuiver1中A1的值。 微信图片_20240426105640

运行环境

Chrome

系统信息

No response

Qsh-yh avatar Apr 26 '24 06:04 Qsh-yh

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

Origin Title: [Bug] 初始化多个univer实例,行为数据混乱

Title: [Bug] When multiple univer instances are initialized, the behavior data is confusing.


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

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

Affected packages and versions

0.1.7

Recurrence link

https://univer.ai/playground/?title=Multi%20Instance

Expected behavior

The behavior and data of multiple instances should not affect each other. Example: A1=123, B1=A1=123 in nuive1. In nuive2 A1=234, B1=A1=234

Actual behavior

The behaviors and data of multiple instances affect each other. Example: A1=123, B1=A1=123 in nuive1. In nuive2 A1=234, B1=A1=123. Here =A1 in cell B1 in nuive2 takes the value of A1 in nuiver1. WeChat picture_20240426105640

Running environment

Chrome

system message

No response

univer-bot[bot] avatar Apr 26 '24 06:04 univer-bot[bot]

UnitIds of the snapshots should not be the same. @Dushusir

wzhudev avatar Apr 26 '24 06:04 wzhudev

The problem with multiple instances has been solved. Please retest. If the problem still exists, please submit an issue or reopen it.

Dushusir avatar Jun 12 '24 07:06 Dushusir