chore: update

This commit is contained in:
xiaoxian521
2024-03-18 16:18:26 +08:00
parent e3b4f0f7f9
commit 4d746a969c
335 changed files with 330 additions and 330 deletions

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

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