Skip to content

Commit

Permalink
docs: 添加 baseUrl 配置
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaohappy committed Dec 18, 2024
1 parent e3c426c commit 6e9ddbd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions site/docs/guide/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ yarn add @libmedia/avcodec

```json
{
"baseUrl": "./",
"paths": {
...
"@libmedia/common/*": ["node_modules/@libmedia/common/dist/esm/*"],
Expand Down
2 changes: 1 addition & 1 deletion test/avplayer.html
Original file line number Diff line number Diff line change
Expand Up @@ -702,7 +702,7 @@
},
computed: {
disabled: function () {
return this.currentTime <= 0
return this.duration <= 0
}
},
methods: {
Expand Down

0 comments on commit 6e9ddbd

Please sign in to comment.