volar 中配置ref自动补全 .value

1,079 阅读1分钟

背景

如何volar 中配置ref自动补全 .value

方法

vscode中左下角齿轮 -> 设置 -> 搜索valor

找到下面图片里的选项,打钩

image.png

关闭vscode 重新打开