摘要: 1、window.location.search.slice(12,20); 2、function GetRequest() { var url = location.search; //获取url中"?"符后的字串 var theRequest = new Object(); if (url.in 阅读全文
posted @ 2020-04-23 16:12 土拨鼠1024 阅读(1771) 评论(0) 推荐(0)
摘要: /*input 输入框 Goole在自动填充时,背景颜色问题*/input:-webkit-autofill,input:-webkit-autofill:hover,input:-webkit-autofill:focus, input:-webkit-autofill:active { tran 阅读全文
posted @ 2020-04-23 16:11 土拨鼠1024 阅读(148) 评论(0) 推荐(0)
摘要: 方法一$ cnpm install -g create-react-app$ create-react-app my-app 方法二 npx create-react-app my-app npm start 启动开发服务器。 npm run build 将应用程序捆绑到静态文件中以供生产。 npm 阅读全文
posted @ 2020-04-23 16:09 土拨鼠1024 阅读(130) 评论(0) 推荐(0)
摘要: $ git clone <远程仓库的网址>$ git pull //拉取$ git status //查看本地仓库$ git add . //提交的文件所有$ git commit -m "注释" //提交到本地仓库$ git push //把本地仓库的提交推送到远程仓库 阅读全文
posted @ 2020-04-23 16:08 土拨鼠1024 阅读(116) 评论(0) 推荐(0)
摘要: const routerPush = Router.prototype.push; Router.prototype.push = function push(location) { return routerPush.call(this, location).catch(error => erro 阅读全文
posted @ 2020-04-23 16:06 土拨鼠1024 阅读(835) 评论(0) 推荐(0)