for admin form page
This commit is contained in:
6
main.js
6
main.js
@@ -6,17 +6,17 @@
|
||||
import { addFieldLabel } from './features/add-field-label/main.js';
|
||||
|
||||
/**
|
||||
* 运行主要的 Kintone Helper 函数
|
||||
* 主入口函数:协调并运行所有扩展功能
|
||||
* @returns {Promise<void>}
|
||||
*/
|
||||
export const runKintoneHelper = async () => {
|
||||
try {
|
||||
await addFieldLabel();
|
||||
} catch (error) {
|
||||
console.error('Kintone Helper execution failed:', error);
|
||||
console.error('❌ Kintone Helper Extension execution failed:', error);
|
||||
throw error;
|
||||
}
|
||||
};
|
||||
|
||||
// 目前立即执行
|
||||
// 立即执行主函数
|
||||
runKintoneHelper();
|
||||
|
||||
Reference in New Issue
Block a user