摘要:
input及时搜索,输入一个字符就去处理请求数据。但是还没有输入完就开始频繁请求,进行处理 阅读全文
摘要:
前端路由主要实现了两个功能 1.记录当前的页面,打开什么样,复制连接再打开还是什么样 2.页面可以前进和后退 有2中方法可以实现 第一种 hash模式 http://www.test.com#param1 #param1这个就是hash,也叫锚点,用来做页面定位用。hash的更改会触发hashcha 阅读全文
摘要:
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 阅读全文