分离common-api端
This commit is contained in:
+1
-1
@@ -433,6 +433,6 @@ export const getIdBySpm = (index: number) => {
|
||||
export const getTokenBySpm = () => {
|
||||
const token = router.currentRoute.value.query.token;
|
||||
if (token) {
|
||||
return JSON.parse(`${token}`);
|
||||
return `${token}`;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user