From 73b03e19aaed8221245bbdd72d1f61e6f889546b Mon Sep 17 00:00:00 2001
From: 安瑾然 <m17681517455@outlook.com>
Date: 星期二, 21 二月 2023 14:11:15 +0800
Subject: [PATCH] 修改图片访问方法
---
src/plugins/filters.js | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/plugins/filters.js b/src/plugins/filters.js
index 297be17..25f7989 100644
--- a/src/plugins/filters.js
+++ b/src/plugins/filters.js
@@ -1,8 +1,8 @@
import {getImgUrl} from "@/api/common";
export function fileNameToPath(val) {
- if (val === '' || val === null) return './logo.png';
+ if (val === '' || val === null) return './logo.jpg';
getImgUrl(val).then(res => {
return res
})
-}
\ No newline at end of file
+}
--
Gitblit v1.8.0