摘要: 使用方式一:var _template = '\ 姓名:\ 年龄:\ ';template.replace(_template,{ name:"张三", age:30});结果: 姓名:张三 年龄:30使用方式二:var _templat... 阅读全文
posted @ 2014-11-18 17:03 北欧水手 阅读(215) 评论(2) 推荐(0)