chore: update

This commit is contained in:
xiaoxian521
2022-12-09 22:35:31 +08:00
parent 5da968f122
commit 0087f0f27c
208 changed files with 177 additions and 177 deletions

1
dist/static/js/columns-9cd4f7f6.js vendored Normal file
View File

@@ -0,0 +1 @@
import{S as c}from"./sortable.esm-fa38c9a5.js";import{n as s}from"./index-00a34d45.js";import{a as u}from"./data-e585f608.js";function b(){const e=Vue.ref(s(u,!0)),n=o=>{o.preventDefault(),Vue.nextTick(()=>{const r=document.querySelector(".el-table__body-wrapper tbody");c.create(r,{animation:300,handle:".drag-btn",onEnd:({newIndex:t,oldIndex:a})=>{const l=e.value.splice(a,1)[0];e.value.splice(t,0,l)}})})};return{columns:[{label:"ID",prop:"id",cellRenderer:({row:o})=>Vue.createVNode("div",{class:"flex items-center"},[Vue.createVNode(Vue.resolveComponent("iconify-icon-online"),{icon:"icon-park-outline:drag",class:"drag-btn cursor-grab",onMouseenter:r=>n(r)},null),Vue.createVNode("p",{class:"ml-[16px]"},[o.id])])},{label:"\u65E5\u671F",prop:"date"},{label:"\u59D3\u540D",prop:"name"}],dataList:e}}export{b as useColumns};