Skip to content

Commit 570c85b

Browse files
committed
chore: add todos
1 parent b3f2359 commit 570c85b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/api/options-lifecycle.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@
214214
- 如果 `errorCaptured` 钩子本身抛出了一个错误,那么这个错误和原来捕获到的错误都将被发送到 `app.config.errorHandler`
215215

216216
- `errorCaptured` 钩子可以通过返回 `false` 来阻止错误继续向上传递。即表示“这个错误已经被处理了,应当被忽略”,它将阻止其他的 `errorCaptured` 钩子或 `app.config.errorHandler` 因这个错误而被调用。
217-
217+
<!-- TODO: translation -->
218218
**Error Capturing Caveats**
219219

220220
- In components with async `setup()` function (with top-level `await`) Vue **will always** try to render component template, even if `setup()` throwed error. This will likely cause more errors because during render component's template might try to access non-existing properties of failed `setup()` context. When capturing errors in such components, be ready to handle errors from both failed async `setup()` (they will always come first) and failed render process.

src/guide/essentials/class-and-style.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ data() {
314314
```
315315

316316
同样的,如果样式对象需要更复杂的逻辑,也可以使用返回样式对象的计算属性。
317-
317+
<!-- TODO: translation -->
318318
`:style` directives can also coexist with regular style attributes, just like `:class`.
319319

320320
Template:

0 commit comments

Comments
 (0)