1.拖拽时跳出新的tab.添加以下代码
<script>
document.body.ondrop = function (e) {
e.preventDefault();
e.stopPropagation();
}
</script>
2.向某个模块中添加
render(){
!function(t){
"use strict";
if()....
}(sort)
},
sort(){
sortable主函数}
3.引用时,先运行
render();
再在需要的地方new Sortable(elem,{{})