From d6cb1c663416533b1ce64aee9f84be86447d0430 Mon Sep 17 00:00:00 2001 From: LiuHao <liuhaoai545@gmail.com> Date: 星期二, 06 六月 2023 16:50:32 +0800 Subject: [PATCH] update 操纵日志和登录日志 card的shadow -> hover --- src/views/system/oss/index.vue | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/views/system/oss/index.vue b/src/views/system/oss/index.vue index 3ee9673..4cf6484 100644 --- a/src/views/system/oss/index.vue +++ b/src/views/system/oss/index.vue @@ -318,10 +318,12 @@ /** 鐢ㄦ埛鐘舵�佷慨鏀� */ const handlePreviewListResource = async (preview: boolean) => { let text = preview ? "鍚敤" : "鍋滅敤"; - await proxy?.$modal.confirm('纭瑕�"' + text + '""棰勮鍒楄〃鍥剧墖"閰嶇疆鍚�?'); - await proxy?.updateConfigByKey("sys.oss.previewListResource", preview); - getList() - proxy?.$modal.msgSuccess(text + "鎴愬姛"); + try { + await proxy?.$modal.confirm('纭瑕�"' + text + '""棰勮鍒楄〃鍥剧墖"閰嶇疆鍚�?'); + await proxy?.updateConfigByKey("sys.oss.previewListResource", preview); + getList() + proxy?.$modal.msgSuccess(text + "鎴愬姛"); + } catch { return } } /** 鍒犻櫎鎸夐挳鎿嶄綔 */ const handleDelete = async (row?: OssVO) => { -- Gitblit v1.9.3