在js中使用freemarker数据 1.var data = "${data}";需要使用双引号. 2.如果被双引号扩进来了,那么使用单引号.οnclick="addHotword(value,'${hotword.hotWord}')"