chore: update

This commit is contained in:
xiaoxian521
2023-08-30 21:53:35 +08:00
parent d7a479afc6
commit a2e0b9155b
510 changed files with 6 additions and 516 deletions

View File

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