Vue 单元测试警告:[antd: Modal] `visible` 将被移除,请使用 `open` 属性
"jest vue单测 Warning: [antd: Modal] visible will be removed in next major version, please use open instead." 是什么错误内容:这个错误是由于你在使用antd的Modal组件时使用了visible属性,但在antd的下一个主要版本中,该属性将被移除并替换为open属性。因此,你需要将visible属性改为open属性来解决这个错误。
AI 优化版
原文地址:https://www.cveoy.top/t/topic/pQxJ 著作权归作者所有。请勿转载和采集!