Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
wqcstrong committed Dec 12, 2023
1 parent 4773ef6 commit bd9d0a5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ PageSpy

所有的参数都是可选的,下面是各个属性的说明及其默认值:

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

interface InitConfig {
Expand Down
4 changes: 3 additions & 1 deletion README_EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ After the integration, open your project in browser, there should be a widget (r

All parameters are optional, here is a description of each property and its default value:

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

interface InitConfig {
// The SDK automatically analyses and determines the address of
// the Server (api) and the address of the debug side (clientOrigin)
Expand Down

0 comments on commit bd9d0a5

Please sign in to comment.