fix format
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
Reference in New Issue
Block a user