v1.50a example

This commit is contained in:
Freddie
2022-04-16 15:46:31 +08:00
parent a9515e3b9e
commit d83ffade9d
4 changed files with 22 additions and 4 deletions

View File

@@ -1,5 +1,11 @@
$('#plugin-click').on('click', () => {
emit('click', {}).then(() => {
emit('click').then(() => {
location.reload();
});
});
$('#plugin-random').on('click', () => {
emit('random').then(result => {
$('#random-number').text(result.data.number);
});
});