vueComponent / ant-design-vue

🌈 An enterprise-class UI components based on Ant Design and Vue. 🐜
https://antdv.com/
Other
20.24k stars 3.79k forks source link

Carousel revolving light component, if you use the Vue.minix method to set props, the context.props of the component will be overwritten. Cause an error. #4526

Closed host166 closed 3 years ago

host166 commented 3 years ago

Version

1.7.7

Environment

next

Reproduction link

https://github.com/vueComponent/ant-design-vue

Steps to reproduce

  1. vue.mixin({props:{a:String}})
  2. 引入carousel组件,并渲染数据

What is expected?

不报错,正常使用,不影响Vue.mixin功能

What is actually happening?

实际发生了报错啊!props被覆盖了,dots.js里面打个断点,看看context.props就知道了。

github-actions[bot] commented 3 years ago

Hello @host166. Please provide a online reproduction by forking this link for vue2link for vue3 or a minimal GitHub repository. Make sure to choose the correct version.

你好 @host166, 我们需要你提供一个在线的重现实例以便于我们帮你排查问题。你可以通过点击 此处 for vue2此处 for vue3 创建一个 codesandbox 或者提供一个最小化的 GitHub 仓库。请确保选择准确的版本。

github-actions[bot] commented 3 years ago

Since the issue was labeled with Need Reproduce, but no response in 7 days. This issue will be closed. If you have any questions, you can comment and reply.

由于该 issue 被标记为需要复现信息,却 7 天未收到回应。现关闭 issue,若有任何问题,可评论回复。

github-actions[bot] commented 2 years ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.