var item = {};
item["value"] = "${(temp.name)!}";
item["id"] = "${(temp.id)!}";
"${(temp.name)!}";是从后台获取的数据
此语法是freemark的语法
jsp中可使用${temp.name}
var item = {};
item["value"] = "${(temp.name)!}";
item["id"] = "${(temp.id)!}";
"${(temp.name)!}";是从后台获取的数据
此语法是freemark的语法
jsp中可使用${temp.name}
转载于:https://www.cnblogs.com/gtaxmjld/p/4238067.html