ES6/代码规范

2017-11-30  本文已影响122人  Gopal

JavaScript中打开新窗口的方式

window.location.href="dddafasd"
window.open("")

electron中有一个模块是shellshell.openExternal('url')
electron会自动打开默认浏览器

"electron": "^1.7.9",
"fs": "^0.0.1-security"
win = new Browser
win.webContents.openDevTools()

MySQL事务

getElementById 给组件上面绑定原生事件 Object.freeze image.png image.png image.png image.png image.png image.png image.png image.png image.png image.png image.png image.png image.png image.png image.png

中间件的理解:
当接收到一个请求的时候,会去加载一个个的中间件,这些中间件是通过next()方法连接起来的,就像一节节的水管,请求就相当于起始位置,中间可能出错的话,就有可能造成水管的堵塞。具体是因为什么原因呢?可以查看最后的结果,查看返回状态即可知道!

上一篇 下一篇

猜你喜欢

热点阅读