Subscribe on changes!

value will add twice when open devtool

avatar
Jun 8th 2021

Version

3.1.1

Reproduction link

https://sfc.vuejs.org/#eyJBcHAudnVlIjoiPHRlbXBsYXRlPlxuICB7eyB4IH19XG48L3RlbXBsYXRlPlxuXG48c2NyaXB0IHNldHVwPlxucmVmOiB4ID0gMFxuXG5kb2N1bWVudC5vbmNsaWNrID0gKCkgPT4ge1xuICBkZWJ1Z2dlclxuICB4Kytcbn1cbjwvc2NyaXB0PlxuXG4ifQ==

Steps to reproduce

click document, value will add 1; open devtool, click, value will add 2

What is expected?

once

What is actually happening?

twice


chrome 91 has bug firefox 90 no bug

avatar
Jun 9th 2021
  • Windows
  • Google Chrome 已是最新版本
  • 版本 91.0.4472.77(正式版本) (64 位)

works fine.

avatar
Jun 9th 2021
  • Windows
  • Google Chrome 已是最新版本
  • 版本 91.0.4472.77(正式版本) (64 位)

works fine.

Microsoft Edge 版本 91.0.864.41 (官方内部版本) (64 位)

did you open dev tools? and i can reproduce at inPrivate Mode

avatar
Jun 9th 2021

yes,I opened dev tools.but still works fine.

avatar
Jun 9th 2021

Win10 Edge 91.0.864.41

when openning devtool, 0, 2, 4, 6, 8

avatar
Jun 10th 2021

works fine after remove debugger or disable devtool's breakpoints....