Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
wqcstrong committed Dec 11, 2023
1 parent 67e8e9f commit 4773ef6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ PageSpy
所有的参数都是可选的,下面是各个属性的说明及其默认值:

```tsx
window.$pageSpy = new PageSpy(config?: InitConfig)

interface InitConfig {
// SDK 会从引入的路径自动分析并决定 Server 的地址(api)和调试端的地址(clientOrigin)
// 假设你从 https://example.com/page-spy/index.min.js 引入,那么 SDK 会在内部设置:
Expand Down

0 comments on commit 4773ef6

Please sign in to comment.