From f01aa3739461c2a5014c9ddea22d6e619b3bf696 Mon Sep 17 00:00:00 2001 From: BlossomWave <316975215@qq.com> Date: 星期一, 24 十月 2022 16:25:33 +0800 Subject: [PATCH] update ruoyi-ui/src/views/system/user/profile/userAvatar.vue. 默认修改头像时如果上传的图片为png透明图片,生成的头像透明部分会变成黑色,修改了生成头像为png格式。可正常显示图片透明部分。 --- ruoyi-ui/src/views/monitor/operlog/index.vue | 9 ++------- 1 files changed, 2 insertions(+), 7 deletions(-) diff --git a/ruoyi-ui/src/views/monitor/operlog/index.vue b/ruoyi-ui/src/views/monitor/operlog/index.vue index 9b8b785..c1b5377 100644 --- a/ruoyi-ui/src/views/monitor/operlog/index.vue +++ b/ruoyi-ui/src/views/monitor/operlog/index.vue @@ -1,12 +1,11 @@ <template> <div class="app-container"> - <el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch" label-width="68px"> + <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px"> <el-form-item label="系统模块" prop="title"> <el-input v-model="queryParams.title" placeholder="请输入系统模块" clearable - size="small" style="width: 240px;" @keyup.enter.native="handleQuery" /> @@ -16,7 +15,6 @@ v-model="queryParams.operName" placeholder="请输入操作人员" clearable - size="small" style="width: 240px;" @keyup.enter.native="handleQuery" /> @@ -26,7 +24,6 @@ v-model="queryParams.businessType" placeholder="操作类型" clearable - size="small" style="width: 240px" > <el-option @@ -42,7 +39,6 @@ v-model="queryParams.status" placeholder="操作状态" clearable - size="small" style="width: 240px" > <el-option @@ -56,7 +52,6 @@ <el-form-item label="操作时间"> <el-date-picker v-model="dateRange" - size="small" style="width: 240px" value-format="yyyy-MM-dd" type="daterange" @@ -260,8 +255,8 @@ resetQuery() { this.dateRange = []; this.resetForm("queryForm"); + this.queryParams.pageNum = 1; this.$refs.tables.sort(this.defaultSort.prop, this.defaultSort.order) - this.handleQuery(); }, /** 多选框选中数据 */ handleSelectionChange(selection) { -- Gitblit v1.9.2