update setting

This commit is contained in:
zhw2590582 committed 2022-02-11 20:23:27 +08:00
1 parent 81ba45adf9
commit 1de2d2aaed
12 files changed
+177 -153

No files matched your search

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