From a280e63446d41ec4046270444f61093e5f34a533 Mon Sep 17 00:00:00 2001
From: 闫增涛 <1829501689@qq.com>
Date: 星期四, 30 五月 2024 19:50:57 +0800
Subject: [PATCH] 学前儿童组件替换,答题器if

---
 src/assets/methods/resources.js |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/src/assets/methods/resources.js b/src/assets/methods/resources.js
index 4a2db4f..7711436 100644
--- a/src/assets/methods/resources.js
+++ b/src/assets/methods/resources.js
@@ -1,6 +1,5 @@
-import config from "../js/config"
 const getResourcePath = (md5) => {
-  return  config.requestCtx + '/file/api/ApiDownload?md5=' + md5
+  return  process.env.VUE_APP_API_URL + '/file/api/ApiDownload?md5=' + md5
 }
 
 export default getResourcePath
\ No newline at end of file

--
Gitblit v1.9.1