chore: update

This commit is contained in:
xiaoxian521
2023-08-30 12:39:32 +08:00
parent 421fe54bbd
commit fd097c5a6a
511 changed files with 515 additions and 5 deletions

View File

@@ -1 +1,2 @@
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