This commit is contained in:
zt
2025-07-28 16:46:49 +08:00
parent d2e46801d1
commit 19406135bf

View File

@ -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");