From a9e21702aaa024c0f7f2c0e35c8585cae9cde724 Mon Sep 17 00:00:00 2001 From: dawn9117 <silanglang@163.com> Date: 星期五, 26 十一月 2021 13:55:32 +0800 Subject: [PATCH] 接口重复鉴权BUG修复: ResourceConfig中已经配置鉴权拦截器, 添加sa-token-spring-aop会导致重复鉴权BUG --- ruoyi-ui/src/views/system/oss/index.vue | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/ruoyi-ui/src/views/system/oss/index.vue b/ruoyi-ui/src/views/system/oss/index.vue index 5b67191..fdfed16 100644 --- a/ruoyi-ui/src/views/system/oss/index.vue +++ b/ruoyi-ui/src/views/system/oss/index.vue @@ -188,7 +188,6 @@ <script> import { listOss, delOss, changePreviewListResource } from "@/api/system/oss"; -import { downLoadOss } from "@/utils/download"; export default { name: "Oss", @@ -325,7 +324,7 @@ }, /** 涓嬭浇鎸夐挳鎿嶄綔 */ handleDownload(row) { - downLoadOss(row.ossId) + this.$download.oss(row.ossId) }, /** 鍒犻櫎鎸夐挳鎿嶄綔 */ handleDelete(row) { -- Gitblit v1.9.3