fix: 修复代码示例语法错误

- vue.md: 添加缺失的注释符号 //
- react.md: 添加缺失的 async 关键字
This commit is contained in:
Tu Shaokun
2025-11-30 11:20:26 +08:00
parent 91a79e39a9
commit ee5826118a
2 changed files with 2 additions and 2 deletions

View File

@@ -492,7 +492,7 @@ watch(
source,
() => {
// 可以安全访问更新后的 DOM
nextTick 不再需要
// nextTick 不再需要
},
{ flush: 'post' }
)