11 2019 档案
摘要:有时前后端交互需要传递时间戳。获取时间戳的方法如下: console.log( Date.parse(new Date()) ) // 1574318285000 精确到秒 console.log( (new Date()).valueOf() ) // 1574318285290 精确到毫秒 co
阅读全文
摘要:bootstrap 的开关。 引入相关文件: <link href="https://cdn.bootcss.com/bootstrap-switch/4.0.0-alpha.1/css/bootstrap-switch.min.css" rel="stylesheet"> <script src=
阅读全文

浙公网安备 33010602011771号