如何使用 google.script.run 为同一个服务器调用指定成功和失败处理程序?
最佳答案
下面的代码应该可以满足您的需要
google.script.run.withFailureHandler(myFailureHandler).withSuccessHandler(handler1);
是documented在成功和失败处理程序
段落中。正文以
You can use any combination of withSuccessHandler, withFailureHandler, and withUserObject.
关于google-apps-script - google.script.run 的服务器响应处理程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11879657/