摘要: 通过params 1.路由表中 <Route path=' /sort/:id ' component={Sort}></Route> 2.Link处 HTML方式 <Link to={ ' /sort/ ' + ' 2 ' } activeClassName='active'>XXXX</Link 阅读全文
posted @ 2021-01-22 15:40 helloSWZ 阅读(182) 评论(0) 推荐(0)
摘要: 1.jQuery ajax $.ajax({ type: 'POST', url: url, data: data, dataType: dataType, success: function () {}, error: function () {} }); 传统 Ajax 指的是 XMLHttpR 阅读全文
posted @ 2021-01-22 15:36 helloSWZ 阅读(141) 评论(0) 推荐(0)