摘要: open -n /Applications/Google\ Chrome.app/ --args --disable-web-security --user-data-dir=/Users/ /Users/这里是解决跨域文件夹的地址 阅读全文
posted @ 2017-11-01 15:15 新年新气象 阅读(183) 评论(0) 推荐(0)
摘要: function getName(callback) { setTimeout(function() { callback('Aaron') }, 1000) } //等待callback回调 getName(function(name) { // alert(name) }) 阅读全文
posted @ 2017-11-01 10:55 新年新气象 阅读(171) 评论(0) 推荐(0)