fix:修改样式
This commit is contained in:
@@ -29,7 +29,9 @@
|
||||
<el-button type="primary" @click="handleQuery">
|
||||
<el-icon><Search /></el-icon><span class="btn-text">查询</span>
|
||||
</el-button>
|
||||
<el-button @click="resetQuery">重置</el-button>
|
||||
<el-button @click="resetQuery">
|
||||
<el-icon><RefreshLeft /></el-icon><span class="btn-text">重置</span>
|
||||
</el-button>
|
||||
<el-button type="success" @click="fetchUserList">
|
||||
<el-icon><Refresh /></el-icon><span class="btn-text">刷新</span>
|
||||
</el-button>
|
||||
@@ -42,10 +44,10 @@
|
||||
<div class="filter-row action-row">
|
||||
<div class="action-bar">
|
||||
<el-button type="primary" @click="handleAdd">
|
||||
<el-icon><Plus /></el-icon>新增用户
|
||||
<el-icon><Plus /></el-icon><span class="btn-text">新增用户</span>
|
||||
</el-button>
|
||||
<el-button type="danger" :disabled="!selectedRows.length" @click="handleBatchDelete">
|
||||
<el-icon><Delete /></el-icon>批量删除
|
||||
<el-icon><Delete /></el-icon><span class="btn-text">批量删除</span>
|
||||
</el-button>
|
||||
</div>
|
||||
</div>
|
||||
@@ -462,7 +464,7 @@
|
||||
import { ref, reactive, onMounted, computed } from 'vue'
|
||||
import { useRouter } from 'vue-router'
|
||||
import { ElMessage, ElMessageBox } from 'element-plus'
|
||||
import { Plus, Delete, Search, ArrowDown, View, User, Edit, Refresh, Position } from '@element-plus/icons-vue'
|
||||
import { Plus, Delete, Search, ArrowDown, View, User, Edit, Refresh, Position, RefreshLeft } from '@element-plus/icons-vue'
|
||||
import AvatarSelector from '@/components/admin/AvatarSelector.vue'
|
||||
import {
|
||||
getUserList,
|
||||
@@ -1242,8 +1244,10 @@ onMounted(() => {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.btn-text {
|
||||
display: none;
|
||||
|
||||
|
||||
.action-bar .btn-text {
|
||||
|
||||
}
|
||||
|
||||
.action-bar {
|
||||
|
||||
Reference in New Issue
Block a user