09 2019 档案
摘要:git clone 一般会要求输入账号密码,如果你使用公司的电脑的话,git push 和 git pull都报如上的错误,但是远程仓库确实是存在的话。 很有可能是电脑里已经有了别人的账号信息。 验证电脑是否有别人的账号信息 查看是否有 credential.helper= xxxx 的信息 如果有
阅读全文
摘要:(funciton (doc, win, designWidth){ var html = doc.documentElement; function refreshRem () { var clientWidth = html.clientWidth; if (clientWidth >= des
阅读全文
摘要://十进制转化为二进制问题 function dec2bin(decimal) { var stack = new Stack() while(decimal/2 > 0) { stack.push(decimal%2) decimal = Math.floor(decimal/2) } var s
阅读全文
摘要:// 队列 规则 先进先出//利用js的数组来实现 function Queue () { this.items = [] // 入队列 Queue.prototype.enQueue = function(element) { this.items.push(element) return this.items.length } ...
阅读全文
摘要:import { createStore, compose, applyMiddleware } from 'redux' import reducer from './reducer' import thunk from 'redux-thunk' const composeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? win
阅读全文

浙公网安备 33010602011771号