Skip to content

Commit

Permalink
update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Fate-ui committed Oct 19, 2023
1 parent 5b83353 commit ec3af63
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

2. 安装依赖

项目是在pnpm下开发的,如果没有安装pnpm,可以使用npm或者yarn代替。如若报错,请尝试[安装pnpm](https://www.pnpm.cn/installation)
项目是在pnpm下开发的,如果没有安装pnpm,可以使用npm或者yarn代替。如若报错,[安装pnpm](https://www.pnpm.cn/installation)
后尝试。

```bash
Expand Down
1 change: 0 additions & 1 deletion src/hooks/useOn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ export function useOn(target, event: string, listener: any) {
const stop = () => {
stopWatch()
cleanup()
console.count('停止监听次数:')
}

//组件销毁后,取消监听
Expand Down

0 comments on commit ec3af63

Please sign in to comment.