12 2017 档案
摘要:render() { const nav = this.props.nav const text = nav && nav.length > 5 ? this.strHandle(nav,5)+'......' : nav; return ( } onLeftClick={() => window.history.back...
阅读全文
摘要:用SPA做微信h5,调用微信jssdk的页面,安卓微信上木有问题,ios微信报当前url未注册 经过调试,是ios微信版本问题导致页面跳转url未变化,导致验签失败 所以我们大致的思想就是:在ios微信环境中(判断浏览器环境请参考我的另一篇文章–js判断浏览器环境),如果跳转页面与当前页面的url不一致,那么就重载刷新整个跳转页面 因为项目使用vue,所以我们使用vue-router的钩子...
阅读全文
摘要:1.'Failed to open stream: Permission denied' error - Laravel
阅读全文
摘要:handleLike(item,index){ var id = item.id; _ENV.post( _ENV.HOST+'/communion/video-up', {'user_id':localStorage.getItem('uid'),'video_id':id} ).then(res => { let data ...
阅读全文