Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/google-apps-script/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/google-app-engine/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Google apps script 带有库的Google应用程序脚本中出现异常_Google Apps Script - Fatal编程技术网

Google apps script 带有库的Google应用程序脚本中出现异常

Google apps script 带有库的Google应用程序脚本中出现异常,google-apps-script,Google Apps Script,我的电子表格中有一个脚本 函数runMe(){ var app=UiApp.createApplication() var hidden=app.createHidden('info','info')) app.add(隐藏) var buttonOk=app.createButton('Ok'); var handler=app.createServerClickHandler('selOk'); handler.addCallbackElement(隐藏); 按钮OK.addClickHan

我的电子表格中有一个脚本

函数runMe(){
var app=UiApp.createApplication()
var hidden=app.createHidden('info','info'))
app.add(隐藏)
var buttonOk=app.createButton('Ok');
var handler=app.createServerClickHandler('selOk');
handler.addCallbackElement(隐藏);
按钮OK.addClickHandler(handler);
应用程序添加(按钮编号)
SpreadsheetApp.getUi().showModalDialog(应用程序,“标题”)
}
功能selOk(e){
SpreadsheetApp.getUi().alert('ok')
}

它工作正常,但当我包含任何库时,当我按下Ok按钮时,脚本会出现“遇到错误…”的情况。。看来图书馆有问题了。你能分享它的id/代码吗?这是已知的问题