Open lfire opened 1 month ago
插件名/Extension: React Style Helper
当使用 style['cover']写法时,无法支持跳转, 但当使用style.cover写法时,是支持的。 在实际使用中,中括号的语法是无法完全避免的,如:style['box-card']
当使用中括号语法时,同样支持跳转到定义处
插件名/Extension: React Style Helper
您的本地环境信息/Your local environment information
您遇到的问题及复现步骤/What are your problems and how to reproduce them
当使用 style['cover']写法时,无法支持跳转,
但当使用style.cover写法时,是支持的。
在实际使用中,中括号的语法是无法完全避免的,如:style['box-card']
您期待的正确结果/The right result you're looking forward to
当使用中括号语法时,同样支持跳转到定义处