mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-20 12:11:20 -08:00
update
This commit is contained in:
1 parent
4d66a8538d
commit
17f79d0b22
12 files changed
+45
-39
No files matched your search
@@ -132,7 +132,7 @@ export default class Component {
|
||||
const find = option.selector[index] || {};
|
||||
$value.innerText = $item.innerText;
|
||||
if (option.onSelect) {
|
||||
const result = option.onSelect.call(this.art, find, $item);
|
||||
const result = option.onSelect.call(this.art, find, $item, event);
|
||||
if (typeof result === 'string') {
|
||||
$value.innerHTML = result;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user