摘要: naturalWidth 阅读全文
posted @ 2018-08-21 11:07 *的一手好诗 阅读(125) 评论(0) 推荐(0)
摘要: line-height:normal;padding:11px 0; 阅读全文
posted @ 2018-08-02 11:24 *的一手好诗 阅读(716) 评论(0) 推荐(0)
摘要: function updateUrl(url,key){ var key= (key || 't') +'='; //默认是"t" var reg=new RegExp(key+'\\d+'); //正则:t=1472286066028 var timestamp=+new Date(); if(u 阅读全文
posted @ 2018-05-31 20:30 *的一手好诗 阅读(270) 评论(0) 推荐(0)
摘要: history.pushState(null, null, document.URL) window.addEventListener('popstate', function () { history.pushState(null, null, document.URL) }) 阅读全文
posted @ 2018-05-14 15:14 *的一手好诗 阅读(212) 评论(0) 推荐(0)
摘要: 子页面内容 阅读全文
posted @ 2018-05-10 10:30 *的一手好诗 阅读(967) 评论(0) 推荐(0)
摘要: 上传文件 scp 本地文件目录/test1.txt root@服务器地址:/目录 上传目录 scp -r 本地文件目录 root@服务器地址:/目录 阅读全文
posted @ 2018-05-08 14:24 *的一手好诗 阅读(242) 评论(0) 推荐(0)
摘要: svn st | grep '^\?' | tr '^\?' ' ' | sed 's/[ ]*//' | sed 's/[ ]/\\ /g' | xargs svn add 阅读全文
posted @ 2018-05-08 14:02 *的一手好诗 阅读(727) 评论(0) 推荐(0)
摘要: 后端配置:https://router.vuejs.org/zh-cn/essentials/history-mode.html 阅读全文
posted @ 2018-03-23 15:19 *的一手好诗 阅读(2278) 评论(0) 推荐(0)
摘要: 获取状态this.$store.state.remember 存储状态this.$store.commit('remember', false) 阅读全文
posted @ 2018-03-23 11:44 *的一手好诗 阅读(181) 评论(0) 推荐(0)
摘要: // 获取子iframe var _iframe = document.getElementById('id').contentWindow;// 获取iframe里img标签var imgs =_iframe.document.getElementById('Id'); 阅读全文
posted @ 2018-03-09 16:47 *的一手好诗 阅读(930) 评论(0) 推荐(0)