Deploying to gh-pages from @ pure-admin/vue-pure-admin@7d8eeee22b 🚀

This commit is contained in:
xiaoxian521
2025-11-08 02:32:11 +00:00
parent 3a1c2533c1
commit 503d15397c
451 changed files with 378 additions and 378 deletions

View File

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