Commit 2ad5b473 by pangchong

feat: 表格分页

parent d1aac3ae
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
</div> </div>
<!-- table展示 --> <!-- table展示 -->
<div class="flex-auto overflow-y-auto px-4"> <div class="flex-auto overflow-y-auto px-4">
<a-table :columns="columns" :data="tableData" :bordered="false" :loading="loading" @page-change="pageChange" @page-size-change="pageSizeChange"> <a-table :columns="columns" :data="tableData" :bordered="false" :loading="loading">
<template #initiator="{ record }"> <template #initiator="{ record }">
<div class="flex items-center"> <div class="flex items-center">
<global-avatar :avatar-size="24" :icon-size="12"></global-avatar> <global-avatar :avatar-size="24" :icon-size="12"></global-avatar>
...@@ -84,8 +84,6 @@ const { ...@@ -84,8 +84,6 @@ const {
data: (res) => res.data.list data: (res) => res.data.list
} }
) )
const pageChange = () => {}
const pageSizeChange = () => {}
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
:deep(.arco-table-th) { :deep(.arco-table-th) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment