Commit f214dc6
committed
fix(video-player): 修复字幕加载时未添加token的问题
在VideoPlayer组件中,修复了字幕加载时未添加token的问题。现在,当subtitles存在时,会检查src中是否已经包含查询参数,如果包含则使用&连接,否则使用?连接,并追加token参数。token从localStorage中获取并进行编码。1 parent f6de589 commit f214dc6
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| |||
0 commit comments