我有一个脚本上周运行良好,但今天不再运行。我试图在一个简单的示例中重现该问题,以便在此处分享,但无法在较小的脚本中重现我的问题。该脚本创建一个 html 接口(使用 HtmlService.createTemplateFromFile)并包含一个 OL,在客户端使用 javascript(从一个数组)向其中添加 li 项。使用 jquery 的 $("olid") 使 li 项成为可选择的。可选择的();当我运行这个脚本时,chrome 控制台说
Domado:HTMLOListElement 没有被驯服;<ol> 上不提供其特定的属性/方法。es53-taming-frame.opt.js:409 Domado:HTMLLIElement 未被驯服;<li> 上将不提供其特定属性/方法。
当我尝试单击 li 项目时,它们没有被选中。相反,我在 javascript 控制台中收到以下错误:
Cannot read property nodeType_v___ of undefined 2462517803-maestro_htmlapp_bin_maestro_htmlapp.js:39
lk 2462517803-maestro_htmlapp_bin_maestro_htmlapp.js:39
applyFunction es53-taming-frame.opt.js:1696
(anonymous function) es53-taming-frame.opt.js:1522
fn.i___ es53-taming-frame.opt.js:96
applyFeralFunction es53-taming-frame.opt.js:1507
applyFeralFunction es53-taming-frame.opt.js:1535
fn.i___ es53-taming-frame.opt.js:96
t$_var es53-taming-frame.opt.js:1571
Object.m___ es53-taming-frame.opt.js:404
plugin_dispatchEvent es53-taming-frame.opt.js:1472
fn.i___ es53-taming-frame.opt.js:96
wrapper
我该如何开始调试呢?我可以将项目 ID 提供给 google 的某个人以查看发生了什么吗?