diff --git a/docs/areact/getting-started.mdx b/docs/areact/getting-started.mdx index 68573ad..da76931 100644 --- a/docs/areact/getting-started.mdx +++ b/docs/areact/getting-started.mdx @@ -210,10 +210,12 @@ function App() { backgroundOpacity="100%" > setName(e.target.getAttribute("text"))} // 使用onInput事件监听输入 + onInput={(e)=>setName(e.target.getAttribute("text")!)} // 使用onInput事件监听输入 text={name} // 绑定是双向的~ > ); } app.mount(, ui); -``` \ No newline at end of file +``` + +![1726986460456](getting-started/1726986460456.png) \ No newline at end of file diff --git a/docs/areact/getting-started/1726986460456.png b/docs/areact/getting-started/1726986460456.png new file mode 100644 index 0000000..00b0d80 Binary files /dev/null and b/docs/areact/getting-started/1726986460456.png differ