|
|
@@ -50,8 +50,8 @@
|
|
|
</a-col>
|
|
|
</a-row>
|
|
|
|
|
|
- <a-table :data="data" :bordered="false" hoverable column-resizable class="table" :loading="loading" :columns="columns"
|
|
|
- :pagination="{
|
|
|
+ <a-table :data="data" :bordered="false" hoverable column-resizable class="table" :loading="loading"
|
|
|
+ :columns="columns" :pagination="{
|
|
|
showPageSize: true,
|
|
|
showJumper: true,
|
|
|
showTotal: true,
|
|
|
@@ -61,8 +61,8 @@
|
|
|
}" @page-change="handlePageChange" @page-size-change="handlePageSizeChange">
|
|
|
<template #username="{ record }">
|
|
|
<a-avatar :size="35">
|
|
|
- <IconUser v-if="!record.avatar" />
|
|
|
- <img :alt="record.username ?? ''" :src="record.avatar" v-else />
|
|
|
+ <img :alt="record.username ?? ''"
|
|
|
+ :src="record.avatar ?? 'https://lepao-cloud.xxoo365.top/view.php/25aa126dc406974ff3579a99a2c6501a.png'" />
|
|
|
</a-avatar>
|
|
|
{{ record.username }}
|
|
|
</template>
|