element-plus [Component] [date-picker] el-date-picker在最新的VUE版本中会报错

3phpmpom  于 4个月前  发布在  其他
关注(0)|答案(2)|浏览(42)

Bug Type: Component

Environment

  • Vue Version: 3.4.15
  • Element Plus Version: 2.5.5
  • Browser / OS: UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36
  • Build Tool: Vite

Reproduction

  • el-date-picker

Docs

Steps to reproduce

[Vue warn] Computed is still dirty after getter evaluation, likely because a computed is mutating its own dependency in its getter. State mutations in computed getters should be avoided. Check the docs for more details: https://vuejs.org/guide/essentials/computed.html#getters-should-be-side-effect-free

What is Expected?

原本记得是不会报这个错的

What is actually happening?

后来一次更新依赖软件包,经检查就是这个组件出错的

Additional comments

(empty)

相关问题