docs(clipboard): fix an issue of demo code (#37438)
doc(clipboard): fix an issue of demo code
This commit is contained in:
parent
c3f06ef037
commit
692876c737
1 changed files with 1 additions and 1 deletions
|
@ -226,7 +226,7 @@ clipboard.writeBuffer('public/utf8-plain-text', buffer)
|
|||
|
||||
const ret = clipboard.readBuffer('public/utf8-plain-text')
|
||||
|
||||
console.log(buffer.equals(out))
|
||||
console.log(buffer.equals(ret))
|
||||
// true
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue