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

Commit

Permalink
Update modal.md (#161)
Browse files Browse the repository at this point in the history
165 
useModal --> useModalInner
  • Loading branch information
r70kg authored Aug 29, 2024
1 parent efc88d8 commit c587f59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/modal.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ type: `(data:any)=>void`
回调函数用于接收 openModal 第二个参数传递的值

```ts
useModal((data: any) => {
useModalInner((data: any) => {
console.log(data);
});
```
Expand Down

0 comments on commit c587f59

Please sign in to comment.