chore: update

This commit is contained in:
xiaoxian521
2024-03-08 14:39:07 +08:00
parent 6d47fa628b
commit 0386152b52
319 changed files with 287 additions and 290 deletions

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

@@ -0,0 +1 @@
import{r as u,V as i,A as c}from"./index-CHAZXL0g.js";import{b as t}from"./data-CWyvdaxh.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};