TypeError:无法调用null的方法“ appendRow”。 (第13行,文件“代码”)
function doGet(e) {
Logger.log(e.parameter);
return HtmlService.createHtmlOutputFromFile("page1");
}
function userClicked(name){
var url = "https://docs.google.com/spreadsheets/d/1Az7Oj0_I063GRG4JL-n73Ax3ppcac9zafmmNAsErZ_s/edit#";
var ss = SpreadsheetApp.openByUrl(url);
var ws = ss.getSheetByName("Data");
ws.appendRow([name]);
//Logger.log(name + " clicked a button");
}