【发布时间】:2016-07-22 01:05:36
【问题描述】:
我创建了一个谷歌应用程序脚本来显示一些带有图像的指标。 我使用了以下代码 函数 doGet() { var output= HtmlService.createHtmlOutputFromFile('cfcgfcg'); output.setSandboxMode(HtmlService.SandboxMode.IFRAME); 返回输出; } 该代码在 NATIVE 模式下工作正常,但不适用于 IFRAME 模式。我已经尝试了以下链接中给出的从 NATIVE 迁移到 IFRAME 的指导方针 https://developers.google.com/apps-script/migration/iframe#setting_the_link_target_attribute
但代码不起作用
以下是我使用的代码 https://drive.google.com/open?id=1C9_tabVhPq1NhKBjqNATvdC5G9542A8rRqhxpa-BSknx8m19Kts6bsB-
【问题讨论】:
标签: javascript html google-apps-script