10 2021 档案

摘要:<template> <div class="count-to-wrapper"> <slot name="left"/> <p class="content-outer"><span :class="['count-to-count-text', countClass]" :id="counter 阅读全文
posted @ 2021-10-25 20:10 创业男生 编辑
摘要:需求: 从接口动态获取子菜单数据 动态加载 要求只有展开才加载子菜单数据 支持刷新,页面显示正常 思路: 一开始比较乱,思路很多。想了很多 首先路由和菜单共用一个全局route, 数据的传递也是通过store的route, 然后要考虑的俩个点就是一个就是渲染菜单和加载路由,可以在导航首位里处理路由, 阅读全文
posted @ 2021-10-15 19:01 创业男生 阅读(1903) 评论(2) 推荐(2) 编辑
摘要:$(function () { const models = [ {id: 1, title: 'hello', parent: 0}, {id: 3, title: 'hello', parent: 1}, {id: 4, title: 'hello', parent: 3}, {id: 5, t 阅读全文
posted @ 2021-10-08 19:51 创业男生 阅读(82) 评论(0) 推荐(0) 编辑