chore: update

This commit is contained in:
xiaoxian521
2024-01-27 16:42:55 +08:00
parent 8c2bd1e986
commit 358f7c2c1f
295 changed files with 255 additions and 255 deletions

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

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