diff --git a/src/content/learn/manipulating-the-dom-with-refs.md b/src/content/learn/manipulating-the-dom-with-refs.md index 937d5c9175..1a970d54a9 100644 --- a/src/content/learn/manipulating-the-dom-with-refs.md +++ b/src/content/learn/manipulating-the-dom-with-refs.md @@ -79,7 +79,7 @@ export default function Form() { 1. 使用 `useRef` Hook 声明 `inputRef`。 2. 像 `` 这样传递它。这告诉 React **将这个 `` 的 DOM 节点放入 `inputRef.current`。** -3. 在 `handleClick` 函数中,从 `inputRef.current` 读取 input DOM 节点并使用 `inputRef.current.focus()` 调用它的 [`focus()`](https://developer.mozilla.org/zh-CN/docs/Web/API/HTMLElement/focus)。 +3. 在 `handleClick` 函数中,从 `inputRef.current` 读取 input DOM 节点并使用 `inputRef.current.focus()` 调用它的 [`focus()`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus)。 4. 用 `onClick` 将 `handleClick` 事件处理器传递给 `