前言
redux compose 用于 applyMiddleware
/ createStore enhancer
, 理解 compose 原理对于理解 redux 很有必要.
https://dev.mysql.com/doc/refman/5.7/en/time-zone-support.html
@@system_time_zone
是系统的 timezone, Mysql 存储之后不再改变@@time_zone
是 mysql 全局 timezone, 默认值为 "SYSTEM"
, 表示使用系统的 timezone 设置@@session.time_zone
是连接级别的 timezone 设置bootstrap modal 样式实现 http://getbootstrap.com/javascript/#modals-related-target
.modal-backdrop
实现 background-color: #000; opacity: 0.5;
透明.modal
: z-index
比 .modal-backdrop
大, 除此之外没做啥.modal-dialog
: 有 width
/ margin
/ background-color
实现居中弹框.modal-content
…最好的语言!
在使用 promise.ify
包进行如下操作:
1 | const promiseify = require("promise.ify"); |
进行 n 此 request, 发现每次 url 都是第一次的 url.
promiseify@0.1.0 https://github.com/magicdawn/promise.ify/blob/v0.1.0/index.js#L13