diff --git a/.gitignore b/.gitignore
index 0c80e11..a6235ab 100644
--- a/.gitignore
+++ b/.gitignore
@@ -16,7 +16,8 @@ out/
/ruoyi-common/target/
/ruoyi-system/target/
/ruoyi-quartz/target/
-/ruoyi-generator/target/s
+/ruoyi-generator/target/
/ruoyi-framework/target/
/ruoyi-admin/target/
/erp_client_sb/target/
+target /
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
index e069031..a269d66 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -9,5 +9,5 @@
-
+
\ No newline at end of file
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 99cf9ef..d2326b5 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -5,11 +5,354 @@
+
+
-
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -48,6 +391,7 @@
"Spring Boot.ErpClientSbApplication.executor": "Debug",
"Spring Boot.RuoYiApplication.executor": "Debug",
"git-widget-placeholder": "master",
+ "last_opened_file_path": "C:/Users/ZiJIe/Desktop/wox/RuoYi-Vue",
"node.js.detected.package.eslint": "true",
"node.js.detected.package.tslint": "true",
"node.js.selected.package.eslint": "(autodetect)",
@@ -61,6 +405,11 @@
+
+
+
+
+
@@ -225,12 +578,31 @@
1758619552979
-
+
+
+ 1758683139068
+
+
+
+ 1758683139068
+
+
+
+
+
+
+
@@ -241,7 +613,6 @@
file://$PROJECT_DIR$/electron-vue-template/src/renderer/components/common/AccountManager.vue
34
-
diff --git a/data/erp-cache.db b/data/erp-cache.db
index 340fbd4..6afe341 100644
Binary files a/data/erp-cache.db and b/data/erp-cache.db differ
diff --git a/data/erp-cache.db-shm b/data/erp-cache.db-shm
index ba00241..f2b6d91 100644
Binary files a/data/erp-cache.db-shm and b/data/erp-cache.db-shm differ
diff --git a/data/erp-cache.db-wal b/data/erp-cache.db-wal
index 2256a67..f78235d 100644
Binary files a/data/erp-cache.db-wal and b/data/erp-cache.db-wal differ
diff --git a/electron-vue-template/src/renderer/App.vue b/electron-vue-template/src/renderer/App.vue
index 90d71b1..1ec8b54 100644
--- a/electron-vue-template/src/renderer/App.vue
+++ b/electron-vue-template/src/renderer/App.vue
@@ -150,6 +150,12 @@ async function handleLoginSuccess(data: { token: string; permissions?: string })
}
async function logout() {
+
+ const token = await authApi.getToken()
+ if (token) {
+ await authApi.logout(token)
+ }
+
await authApi.deleteTokenCache()
// 清理前端状态
isAuthenticated.value = false
@@ -158,7 +164,8 @@ async function logout() {
showAuthDialog.value = true
showDeviceDialog.value = false
- // 关闭SSE连接
+ // 关闭SSE连接`-+++++++
+
SSEManager.disconnect()
}
diff --git a/electron-vue-template/src/renderer/components/amazon/AmazonDashboard.vue b/electron-vue-template/src/renderer/components/amazon/AmazonDashboard.vue
index d887097..4885baf 100644
--- a/electron-vue-template/src/renderer/components/amazon/AmazonDashboard.vue
+++ b/electron-vue-template/src/renderer/components/amazon/AmazonDashboard.vue
@@ -269,7 +269,7 @@ onMounted(async () => {