SyntaxError: Invalid or unexpected token (línea 5, archivo "Código")

问题描述 投票:0回答:0

文件 Codigo.gs

语法

function doGet() {

  var template = HtmlService.createTemplateFromFile("Registro");
  template.pubUrl = "https://script.google.com/macros/s/AKfycbwNvSzGmX8kY3r3LrHydB4WpYBACfwrT1QXDyAGAQE/dev"
  var output = template.evaluate();

  return output;  
}

function include( fileName ) {

  return HtmlService.createHtmlOutputFromFile( fileName )
  .getContent();

}

function doPost( e ){

我尝试在 AppsScript 中运行测试实现,但出现错误

google-apps-script google-sheets syntax-error token
© www.soinside.com 2019 - 2024. All rights reserved.