Google Apps Script报错:‘找不到脚本函数onSubmitOpening’问题排查求助
Google Apps Script报错:‘找不到脚本函数onSubmitOpening’问题排查求助
各位大佬好,我正在给一家餐厅做个小项目,用ChatGPT写了Google Apps Script代码来实现开业/闭店任务清单的功能,表单里的提交按钮会触发通知。雇主那边用着完全正常,能正常收到通知之类的,但我用测试员工账号操作时,却弹出了报错:
"Script function onSubmitOpening could not be found"
附上表格的结构截图:
我的onSubmitOpening函数代码如下(后面的内容还没写完,先贴已有的部分):
function onSubmitOpening() { var sheet = SpreadsheetApp.getActiveSpreadsheet().getSheetByName("Opening"); // Define the range for the "CHECK" and "INITIALS" columns var checkColIndex = 3; // Index for the "CHECK" column (assuming it's the 5th column) var init...
想请教下各位,为什么员工账号会出现找不到这个函数的问题呀?
备注:内容来源于stack exchange,提问作者Jenny Lee
相关产品推荐
相关产品推荐

