摘要: vuejs: Vue.directive('drag',function(){ var oDiv=this.el; oDiv.onmousedown=function(ev){ var disX=ev.clientX-oDiv.offsetLeft; var disY=ev.clientY-oDiv 阅读全文
posted @ 2017-05-18 17:25 sungang 阅读(231) 评论(0) 推荐(0) 编辑