随笔分类 -  JS

使用ES6对数组进行去重操作
摘要:首先将数组转换为Set类型。 Array.from方法可以将 Set 结构转为数组。 阅读全文

posted @ 2018-01-26 11:24 王蒙Wmmm 阅读(163) 评论(0) 推荐(0)

获取文本内容
摘要:方法一: <td class="p-t-sm"> <a th:href="@{/home/footer/item/{footerNavId}(footerNavId=${footerNav.id})}" class="text-muted"><p th:text="${footerNav.name} 阅读全文

posted @ 2017-07-14 18:05 王蒙Wmmm 阅读(228) 评论(0) 推荐(0)