From 6c49b47344d4ccabc05f5ece7bb147bcc3035f10 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: 星期六, 27 七月 2024 15:08:13 +0800 Subject: [PATCH] update element-plus 2.7.5 => 2.7.8 update vue 3.4.25 => 3.4.34 update vite 5.2.10 => 5.2.12 --- src/views/system/oss/index.vue | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/views/system/oss/index.vue b/src/views/system/oss/index.vue index a2f1f1b..a6e60e8 100644 --- a/src/views/system/oss/index.vue +++ b/src/views/system/oss/index.vue @@ -13,7 +13,7 @@ <el-form-item label="鏂囦欢鍚庣紑" prop="fileSuffix"> <el-input v-model="queryParams.fileSuffix" placeholder="璇疯緭鍏ユ枃浠跺悗缂�" clearable @keyup.enter="handleQuery" /> </el-form-item> - <el-form-item label="鍒涘缓鏃堕棿" style="width: 308px;"> + <el-form-item label="鍒涘缓鏃堕棿" style="width: 308px"> <el-date-picker v-model="dateRangeCreateTime" value-format="YYYY-MM-DD HH:mm:ss" @@ -198,9 +198,9 @@ showTable.value = true; }; function checkFileSuffix(fileSuffix: string | string[]) { - const arr = [".png", ".jpg", ".jpeg"]; + const arr = ['.png', '.jpg', '.jpeg']; const suffixArray = Array.isArray(fileSuffix) ? fileSuffix : [fileSuffix]; - return suffixArray.some(suffix => arr.includes(suffix.toLowerCase())); + return suffixArray.some((suffix) => arr.includes(suffix.toLowerCase())); } /** 鍙栨秷鎸夐挳 */ function cancel() { @@ -304,7 +304,7 @@ const handleDownload = (row: OssVO) => { proxy?.$download.oss(row.ossId); }; -/** 鐢ㄦ埛鐘舵�佷慨鏀� */ +/** 棰勮寮�鍏虫寜閽� */ const handlePreviewListResource = async (preview: boolean) => { let text = preview ? '鍚敤' : '鍋滅敤'; try { -- Gitblit v1.9.3