上一页 1 ··· 7 8 9 10 11

2019年8月15日

摘要: input及时搜索,输入一个字符就去处理请求数据。但是还没有输入完就开始频繁请求,进行处理 阅读全文
posted @ 2019-08-15 14:51 chenyi4 阅读(692) 评论(0) 推荐(0) 编辑
摘要: 前端路由主要实现了两个功能 1.记录当前的页面,打开什么样,复制连接再打开还是什么样 2.页面可以前进和后退 有2中方法可以实现 第一种 hash模式 http://www.test.com#param1 #param1这个就是hash,也叫锚点,用来做页面定位用。hash的更改会触发hashcha 阅读全文
posted @ 2019-08-15 13:57 chenyi4 阅读(330) 评论(0) 推荐(0) 编辑

2019年8月14日

摘要: Dynamic Route Matching 动态的 路由 匹配 Very often we will need to map routes with the given pattern to the same component. For example we may have a User co 阅读全文
posted @ 2019-08-14 14:26 chenyi4 阅读(255) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11

导航