fix(core): update

This commit is contained in:
2023-09-22 19:04:02 +02:00
parent 53ac03507d
commit c68b0c5090
3 changed files with 28 additions and 10 deletions

View File

@ -58,8 +58,8 @@ export const demoFunc = () => html`
iconName: 'bell',
useTableBehaviour: 'upload',
type: ['inRow'],
actionFunc: async (itemArg) => {
alert(itemArg.amount);
actionFunc: async (optionsArg) => {
alert(optionsArg.item.amount);
},
},
{
@ -112,7 +112,7 @@ export const demoFunc = () => html`
type: ['doubleClick', 'contextmenu'],
iconName: 'eye',
actionFunc: async (itemArg) => {
alert(itemArg.amount);
alert(itemArg.item.amount);
return null;
},
}