diff --git a/packages/reactive/.umirc.js b/packages/reactive/.umirc.js index 396bc8bb0e3..a11014d95b8 100644 --- a/packages/reactive/.umirc.js +++ b/packages/reactive/.umirc.js @@ -246,7 +246,7 @@ export default { children: [ { title: 'observer', - path: '/api/react/observer', + path: '/zh-CN/api/react/observer', }, ], }, @@ -255,7 +255,7 @@ export default { children: [ { title: 'observer', - path: '/api/vue/observer', + path: '/zh-CN/api/vue/observer', }, ], }, diff --git a/packages/reactive/docs/api/vue/observer.md b/packages/reactive/docs/api/vue/observer.md index d319ddb9844..98ba4753e22 100644 --- a/packages/reactive/docs/api/vue/observer.md +++ b/packages/reactive/docs/api/vue/observer.md @@ -1,10 +1,10 @@ # observer -## 描述 +## describe -在 Vue 中,将组件渲染方法变成 Reaction,每次视图重新渲染就会收集依赖,依赖更新会自动重渲染。 +In Vue, the component rendering method is changed to Reaction, and dependencies are collected every time the view is re-rendered, and dependencies are updated automatically to re-render. -## 用例 +## Example ```html