chore: update

This commit is contained in:
xiaoxian521
2024-03-13 20:52:43 +08:00
parent 0fb677540a
commit 4ac6a0b238
328 changed files with 348 additions and 346 deletions

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

@@ -0,0 +1 @@
import{r as u,V as i,A as c}from"./index-O62TfnLP.js";import{b as t}from"./data-CRKpdpfD.js";function g(a){const r=u(""),l=[{label:"ID",prop:"id",width:80},{label:"日期",prop:"date",minWidth:120},{label:"姓名",prop:"name"},{label:"地址",prop:"address"}],o=i({pageSize:5,currentPage:1,layout:"prev, pager, next",total:t.length,background:!0,small:!0});function n({row:{name:e}}){return{cursor:"pointer",background:e===r.value?"var(--el-fill-color-light)":""}}function s(e){r.value=e.name,a.value.blur(),c(`当前选中行的数据为:${JSON.stringify(e)}`,{type:"success"})}return{columns:l,pagination:o,selectValue:r,tableDataEdit:t,rowStyle:n,onRowClick:s}}export{g as useColumns};