Skip to content

vue/no-ref-object-reactivity-loss

禁止使用可能导致失去反应性的 ref 对象

¥disallow usages of ref objects that can lead to loss of reactivity

📖 规则详情

此规则报告 ref 对象的用法导致值失去反应性。

¥This rule reports the usages of ref objects causing the value to lose reactivity.

Now loading...

此规则还支持 Reactivity Transform,但 Reactivity Transform 是一项实验性功能,可能会因未来 Vue 的变化而出现误报。请参阅 RFC 以了解有关 Reactivity Transform 的更多信息。

¥This rule also supports Reactivity Transform, but Reactivity Transform is an experimental feature and may have false positives due to future Vue changes.\ See the RFC for more information on Reactivity Transform.

Now loading...

🔧选项

¥🔧 Options

无。

¥Nothing.

🚀版本

¥🚀 Version

此规则在在 eslint-plugin-vue v9.17.0 中

¥This rule was introduced in eslint-plugin-vue v9.17.0

🔍代码实现

¥🔍 Implementation

eslint-plugin-vue v10.0 中文网 - 粤ICP备13048890号