mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-12-09 14:40:27 +08:00
chore: update
This commit is contained in:
1
dist/static/js/columns-DIKv4El4.js
vendored
Normal file
1
dist/static/js/columns-DIKv4El4.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
import{r as u,V as i,A as c}from"./index-DZLwq52W.js";import{b as t}from"./data-DQJtEPd2.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};
|
||||
Reference in New Issue
Block a user