fix format

This commit is contained in:
2025-11-03 15:46:06 +08:00
parent 63a2cfc186
commit c4999c4804
2 changed files with 90 additions and 94 deletions

View File

@@ -7,8 +7,7 @@ import { Button } from 'kintone-ui-component/lib/button';
(function (PLUGIN_ID) {
kintone.events.on('app.record.index.show', async () => {
// 授权了才能使用
LicenseService.loadPluginIfAuthorized(PLUGIN_ID,
async () => {
LicenseService.loadPluginIfAuthorized(PLUGIN_ID, async () => {
// 获取当前应用ID
const appIdNum = kintone.app.getId();
if (!appIdNum) {
@@ -55,7 +54,6 @@ import { Button } from 'kintone-ui-component/lib/button';
}
});
headerSpace.appendChild(button);
},
);
});
});
})(kintone.$PLUGIN_ID);

View File

@@ -7,8 +7,7 @@ import { MobileButton } from 'kintone-ui-component/lib/mobile/button';
(function (PLUGIN_ID) {
kintone.events.on('mobile.app.record.index.show', () => {
// 授权了才能使用
LicenseService.loadPluginIfAuthorized(PLUGIN_ID,
async () => {
LicenseService.loadPluginIfAuthorized(PLUGIN_ID, async () => {
// 获取当前应用ID
const appIdNum = kintone.mobile.app.getId();
if (!appIdNum) {
@@ -55,7 +54,6 @@ import { MobileButton } from 'kintone-ui-component/lib/mobile/button';
}
});
headerSpace.appendChild(button);
},
);
});
});
})(kintone.$PLUGIN_ID);