问题:模板字符串里绑定事件是报错 Uncaught ReferenceError: xxx is not definedat HTMLSpanElement.onclick 问题原因:传入的字符串被当作变量使用 解决方法:添加单引号