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-58a3d29e.js
vendored
Normal file
1
dist/static/js/columns-58a3d29e.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
import{m as s}from"./message-e5778918.js";import{b as r}from"./data-e9fe60c1.js";import"./index-4b813511.js";function m(a){const t=Vue.ref(""),o=[{label:"ID",prop:"id",width:80},{label:"\u65E5\u671F",prop:"date"},{label:"\u59D3\u540D",prop:"name"},{label:"\u5730\u5740",prop:"address"}],n=Vue.reactive({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===t.value?"#f5f7fa":""}}function u(e){t.value=e.name,a.value.blur(),s(`\u5F53\u524D\u9009\u4E2D\u884C\u7684\u6570\u636E\u4E3A\uFF1A${JSON.stringify(e)}`,{type:"success"})}return{columns:o,pagination:n,selectValue:t,tableDataEdit:r,rowStyle:l,onRowClick:u}}export{m as useColumns};
|
||||
Reference in New Issue
Block a user