From fe2b697a063ab9898af5ec0b49c30ad20274d56e Mon Sep 17 00:00:00 2001 From: gjj <Ganjj@probim.com.cn> Date: Tue, 25 Feb 2025 11:42:12 +0800 Subject: [PATCH] 调整样式,接口对接 --- src/utils/getToken.js | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/utils/getToken.js b/src/utils/getToken.js index a2fe80d..216e492 100644 --- a/src/utils/getToken.js +++ b/src/utils/getToken.js @@ -6,4 +6,8 @@ token = window.localStorage.getItem("token"); } return token; +} +export const getProjectId = () => { + let id = window.ProjectConfig.projectId; + return id; } \ No newline at end of file -- Gitblit v1.9.3