Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
DLTech21 authored Dec 30, 2023
1 parent 8ff1343 commit bfeb476
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,8 @@ parseOfdDocument({
| width | 预期渲染的宽度,像素值 ,如800 ||

```
renderOfd(documentIndex, width).then(divs=>{
// do something
})
const divs = renderOfd(documentIndex, width)
// do something
```

#### 渲染OFD对应文档的对应页
Expand All @@ -59,9 +58,9 @@ renderOfd(documentIndex, width).then(divs=>{
| width | 预期渲染的宽度,像素值 ,如800 ||

```
renderOfdByIndex(documentIndex, pageIndex, width).then(div => {
// do something
}})
const div = renderOfdByIndex(documentIndex, pageIndex, width)
// do something
```

## ofd推荐项目
Expand Down

0 comments on commit bfeb476

Please sign in to comment.