chore: update

This commit is contained in:
xiaoxian521
2023-02-28 22:58:13 +08:00
parent 6b2b5dee78
commit 6696a3964e
182 changed files with 151 additions and 151 deletions

1
dist/static/js/columns-8fea6497.js vendored Normal file
View File

@@ -0,0 +1 @@
import{b as l}from"./data-719766e9.js";import"./index-e857c921.js";function d(r,o){const n=Vue.ref([]),c=[{type:"selection",align:"left"},{label:"ID",prop:"id",width:80},{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"}],s=Vue.reactive({pageSize:10,currentPage:1,layout:"prev, pager, next",total:l.length,background:!0,small:!0});return{columns:c,pagination:s,selectValue:n,tableDataEdit:l,onSure:()=>{r.value.blur()},onClear:()=>{const{clearSelection:e}=o.value.getTableRef();e()},removeTag:e=>{const{toggleRowSelection:a}=o.value.getTableRef();a(l.filter(t=>t.name===e)[0],!1)},handleSelectionChange:e=>{const a=[];e.forEach(t=>{a.push(t.name)}),n.value=a}}}export{d as useColumns};