This commit is contained in:
hsueh chiahao
2025-10-16 15:49:27 +08:00
parent 4cba63fc16
commit ee7acb6486
4 changed files with 93 additions and 11 deletions

View File

@@ -22,12 +22,12 @@ export class KintoneIndexEventHandler {
};
// ボタン追加
if (document.getElementById('btn-data-fetch')) return;
if (document.getElementById('aggregator-plugin:btn-data-fetch')) return;
const kuc = Kucs['1.18.0'];
const button = new kuc.Button({
text: this.config.buttonName,
type: "submit",
id: 'btn-data-fetch',
id: 'aggregator-plugin:btn-data-fetch',
});
button.addEventListener('click', () => this.handleButtonClick());
headerSpace.appendChild(button);