chore: update

This commit is contained in:
xiaoxian521
2023-06-13 23:14:27 +08:00
parent 518fd88362
commit 41e912101a
271 changed files with 243 additions and 243 deletions

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

@@ -0,0 +1 @@
import{r as u,ai as i,m as p}from"./index-2864f194.js";import{b as r}from"./data-d107320a.js";function f(t){const a=u(""),o=[{label:"ID",prop:"id",width:80},{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"}],n=i({pageSize:5,currentPage:1,layout:"prev, pager, next",total:r.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,t.value.blur(),p(`当前选中行的数据为:${JSON.stringify(e)}`,{type:"success"})}return{columns:o,pagination:n,selectValue:a,tableDataEdit:r,rowStyle:l,onRowClick:s}}export{f as useColumns};