This commit is contained in:
Harvey authored and Harvey Zack committed 2022-02-11 11:20:54 +08:00
1 parent 4d66a8538d
commit 17f79d0b22
12 files changed
+45 -39

No files matched your search

+1 -1
View File
@@ -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;
}