From 53cced5d293ea7ea48055deb18c5962442f86585 Mon Sep 17 00:00:00 2001
From: hdy <1105738590@qq.com>
Date: 星期五, 03 一月 2025 20:10:02 +0800
Subject: [PATCH] 工单bom下发接口

---
 billion-ui/src/utils/auth.js |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/billion-ui/src/utils/auth.js b/billion-ui/src/utils/auth.js
index 08a43d6..f15d648 100644
--- a/billion-ui/src/utils/auth.js
+++ b/billion-ui/src/utils/auth.js
@@ -3,13 +3,13 @@
 const TokenKey = 'Admin-Token'
 
 export function getToken() {
-  return Cookies.get(TokenKey)
+  return localStorage.getItem(TokenKey)
 }
 
 export function setToken(token) {
-  return Cookies.set(TokenKey, token)
+  return localStorage.setItem(TokenKey, token)
 }
 
 export function removeToken() {
-  return Cookies.remove(TokenKey)
+  return localStorage.removeItem(TokenKey)
 }

--
Gitblit v1.9.3