fix: 修复用户管理分页条消失错误,优化表格 slot 命名

This commit is contained in:
2024-10-13 15:50:02 +08:00
parent 50a6d17516
commit 6a77168645
17 changed files with 43 additions and 40 deletions

View File

@@ -2,9 +2,7 @@
<div class="table-page">
<a-row justify="space-between" align="center" class="header">
<a-space wrap>
<slot name="custom-title">
<div class="title">系统日志</div>
</slot>
<div class="title">系统日志</div>
</a-space>
</a-row>
<a-tabs v-model:active-key="activeKey" type="card-gutter" size="large" @change="change">

View File

@@ -10,7 +10,7 @@
@filter-change="filterChange"
@refresh="search"
>
<template #custom-left>
<template #toolbar-left>
<a-input v-model="queryForm.createUserString" placeholder="请输入登录用户" allow-clear @change="search">
<template #prefix><icon-search /></template>
</a-input>
@@ -23,7 +23,7 @@
<template #default>重置</template>
</a-button>
</template>
<template #custom-right>
<template #toolbar-right>
<a-button v-permission="['monitor:log:export']" @click="onExport">
<template #icon>
<icon-download />

View File

@@ -11,7 +11,7 @@
@filter-change="filterChange"
@refresh="search"
>
<template #custom-left>
<template #toolbar-left>
<a-input v-model="queryForm.createUserString" placeholder="请输入操作人" allow-clear @change="search">
<template #prefix><icon-search /></template>
</a-input>
@@ -24,7 +24,7 @@
<template #default>重置</template>
</a-button>
</template>
<template #custom-right>
<template #toolbar-right>
<a-button v-permission="['monitor:log:export']" @click="onExport">
<template #icon>
<icon-download />

View File

@@ -11,7 +11,7 @@
:disabled-tools="['size']"
@refresh="search"
>
<template #custom-left>
<template #toolbar-left>
<a-input v-model="queryForm.nickname" placeholder="请输入用户名/昵称" allow-clear @change="search">
<template #prefix><icon-search /></template>
</a-input>