diff --git a/ruoyi/uploadPath/appResource/html/upload.html b/ruoyi/uploadPath/appResource/html/upload.html index 996e015..a2f252a 100644 --- a/ruoyi/uploadPath/appResource/html/upload.html +++ b/ruoyi/uploadPath/appResource/html/upload.html @@ -277,7 +277,7 @@ mounted() { const protocol = window.location.protocol; const host = window.location.host; - // this.baseUrl = `${protocol}//${host}/lhyg`; // 动态获取基础 URL + this.baseUrl = `${protocol}//${host}/lhyg`; // 动态获取基础 URL // 获取 URL 中的 userId 参数 const urlParams = new URLSearchParams(window.location.search); this.userId = urlParams.get("userId");