mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-22 13:21:20 -08:00
修改字幕乱码
This commit is contained in:
1 parent
ed009f9d4d
commit
92686dfcb6
13 files changed
+207
-162
No files matched your search
@@ -52,10 +52,10 @@ export default function localSubtitle(art) {
|
||||
<div class="art-upload-value"></div>
|
||||
</div>
|
||||
`,
|
||||
mounted: $setting => {
|
||||
mounted: ($setting) => {
|
||||
const $btn = query('.art-upload-btn', $setting);
|
||||
const $value = query('.art-upload-value', $setting);
|
||||
art.on('localSubtitle', file => {
|
||||
art.on('localSubtitle', (file) => {
|
||||
$value.textContent = file.name;
|
||||
$value.title = file.name;
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user