Ruby--hash

--将hash作为js方法

get_page_top_module('<%=@page_type%>', <%=@location_hash.to_json%>);
原文地址:https://www.cnblogs.com/gary-tao/p/5899901.html