优化
This commit is contained in:
@ -277,7 +277,7 @@
|
|||||||
mounted() {
|
mounted() {
|
||||||
const protocol = window.location.protocol;
|
const protocol = window.location.protocol;
|
||||||
const host = window.location.host;
|
const host = window.location.host;
|
||||||
// this.baseUrl = `${protocol}//${host}/lhyg`; // 动态获取基础 URL
|
this.baseUrl = `${protocol}//${host}/lhyg`; // 动态获取基础 URL
|
||||||
// 获取 URL 中的 userId 参数
|
// 获取 URL 中的 userId 参数
|
||||||
const urlParams = new URLSearchParams(window.location.search);
|
const urlParams = new URLSearchParams(window.location.search);
|
||||||
this.userId = urlParams.get("userId");
|
this.userId = urlParams.get("userId");
|
||||||
|
Reference in New Issue
Block a user