Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Commit c587f59

Browse files
authored
Update modal.md (#161)
165 useModal --> useModalInner
1 parent efc88d8 commit c587f59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/modal.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ type: `(data:any)=>void`
162162
回调函数用于接收 openModal 第二个参数传递的值
163163

164164
```ts
165-
useModal((data: any) => {
165+
useModalInner((data: any) => {
166166
console.log(data);
167167
});
168168
```

0 commit comments

Comments
 (0)