mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-13 15:56:15 -08:00
update setting
This commit is contained in:
1 parent
81ba45adf9
commit
1de2d2aaed
12 files changed
+177
-153
No files matched your search
@@ -133,7 +133,7 @@ export default class Component {
|
||||
$value.innerText = $item.innerText;
|
||||
if (option.onSelect) {
|
||||
const result = option.onSelect.call(this.art, find, $item, event);
|
||||
if (typeof result === 'string') {
|
||||
if (typeof result === 'string' || typeof result === 'number') {
|
||||
$value.innerHTML = result;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user