Deploying to gh-pages from @ pure-admin/vue-pure-admin@653d3228d1 🚀

This commit is contained in:
xiaoxian521
2026-01-30 02:42:29 +00:00
parent f1ee1f4e8a
commit d40a6d7adc
453 changed files with 416 additions and 416 deletions

View File

@@ -0,0 +1 @@
import{S as m}from"./sortable.esm-C0jtZaAC.js";import{l as o,a8 as i,m as b,x as l}from"./index-ChQ6eMdI.js";import{a as v}from"./data-B7TqVcoE.js";function S(){const t=o(i(v,!0)),e=o([{label:"ID",prop:"id"},{label:"日期",prop:"date"},{label:"姓名",prop:"name"}]),p=o([{label:"ID",prop:a=>e.value[a].prop},{label:"日期",prop:a=>e.value[a].prop},{label:"姓名",prop:a=>e.value[a].prop}]),n=a=>{a.preventDefault(),l(()=>{const s=document.querySelector(".el-table__header-wrapper tr");m.create(s,{animation:300,delay:0,onEnd:({newIndex:u,oldIndex:r})=>{const c=e.value[r];e.value.splice(r,1),e.value.splice(u,0,c)}})})};return b(()=>{l(()=>{n(event)})}),{columns:p,dataList:t,columnsDrag:e}}export{S as useColumns};