From 54d141532c864200b19404848ae5a8110535c6ed Mon Sep 17 00:00:00 2001 From: QYF-GitLab1 <1940665526@qq.com> Date: 星期四, 26 十二月 2024 18:12:32 +0800 Subject: [PATCH] 1 --- src/assets/methods/resources.js | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/assets/methods/resources.js b/src/assets/methods/resources.js index c51f776..17a5fbb 100644 --- a/src/assets/methods/resources.js +++ b/src/assets/methods/resources.js @@ -9,8 +9,8 @@ appRefCode, }) .then((res) => { - if (res?.data != "" && res?.data != undefined) { - path = res.data; + if (res != "" && res != undefined) { + path = res; } else { path = process.env.VUE_APP_API_URL + "/file/api/ApiDownload?md5=" + md5; } -- Gitblit v1.9.1