From 56a943bf48e204f24d0e1bbbf2cb7e82f3eb2662 Mon Sep 17 00:00:00 2001 From: RuoYi <yzz_ivy@163.com> Date: 星期一, 24 五月 2021 11:24:54 +0800 Subject: [PATCH] 升级druid到最新版本v1.2.6 --- ruoyi-ui/src/views/monitor/logininfor/index.vue | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ruoyi-ui/src/views/monitor/logininfor/index.vue b/ruoyi-ui/src/views/monitor/logininfor/index.vue index b83d138..4ac9a78 100644 --- a/ruoyi-ui/src/views/monitor/logininfor/index.vue +++ b/ruoyi-ui/src/views/monitor/logininfor/index.vue @@ -83,8 +83,9 @@ plain icon="el-icon-download" size="mini" + :loading="exportLoading" @click="handleExport" - v-hasPermi="['system:logininfor:export']" + v-hasPermi="['monitor:logininfor:export']" >导出</el-button> </el-col> <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar> @@ -126,6 +127,8 @@ return { // 遮罩层 loading: true, + // 导出遮罩层 + exportLoading: false, // 选中数组 ids: [], // 非多个禁用 @@ -221,10 +224,12 @@ confirmButtonText: "确定", cancelButtonText: "取消", type: "warning" - }).then(function() { + }).then(() => { + this.exportLoading = true; return exportLogininfor(queryParams); }).then(response => { this.download(response.msg); + this.exportLoading = false; }) } } -- Gitblit v1.9.2