From 8b097af195e5b0056eaad06f199cd1d291821912 Mon Sep 17 00:00:00 2001 From: 佟明键 <tongmingjian@sinosoft.com.cn> Date: 星期四, 24 二月 2022 12:39:28 +0800 Subject: [PATCH] update 优化随机数生成方式 避免容易生成两个相同随机数的问题 --- ruoyi-ui/src/views/system/dict/data.vue | 14 ++++++++++++++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/ruoyi-ui/src/views/system/dict/data.vue b/ruoyi-ui/src/views/system/dict/data.vue index bb77919..bf538ad 100644 --- a/ruoyi-ui/src/views/system/dict/data.vue +++ b/ruoyi-ui/src/views/system/dict/data.vue @@ -79,6 +79,15 @@ v-hasPermi="['system:dict:export']" >瀵煎嚭</el-button> </el-col> + <el-col :span="1.5"> + <el-button + type="warning" + plain + icon="el-icon-close" + size="mini" + @click="handleClose" + >鍏抽棴</el-button> + </el-col> <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar> </el-row> @@ -316,6 +325,11 @@ this.queryParams.pageNum = 1; this.getList(); }, + /** 杩斿洖鎸夐挳鎿嶄綔 */ + handleClose() { + const obj = { path: "/system/dict" }; + this.$tab.closeOpenPage(obj); + }, /** 閲嶇疆鎸夐挳鎿嶄綔 */ resetQuery() { this.resetForm("queryForm"); -- Gitblit v1.9.3