From 9d71f13c6d516135ad8d65777c2e7c36e057c39a Mon Sep 17 00:00:00 2001 From: zhongshujie <2862698242@qq.com> Date: 星期二, 07 一月 2025 17:27:15 +0800 Subject: [PATCH] Merge branch 'master' of http://182.92.203.7:2001/r/testbookLayout --- 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