diff --git a/package.json b/package.json
index 57aa99b..bc5d413 100644
--- a/package.json
+++ b/package.json
@@ -3,14 +3,17 @@
"version": "0.0.0",
"private": false,
"description": "ChatGPT Tauri",
- "author": "pljhonglu@gmail.com",
- "homepage": "https://github.com/pljhonglu/ChatGPT-T",
+ "author": "hzg1226620085@gmail.com",
+ "homepage": "https://github.com/huangzonggui/ChatGPT-Desktop",
"keywords": [
"chatgpt-tauri",
"chatgpt",
"chatbot",
"vue",
- "tauri"
+ "tauri",
+ "desktop",
+ "access token",
+ "app"
],
"scripts": {
"dev:fe": "vite",
diff --git a/src/components/common/Setting/General.vue b/src/components/common/Setting/General.vue
index e9b3e58..3e0d1ce 100644
--- a/src/components/common/Setting/General.vue
+++ b/src/components/common/Setting/General.vue
@@ -226,19 +226,21 @@ async function checkAppUpdate() {
Api Key 列表
-
+
-
添加
+
- {{ item }}
删除
+
+ {{ item }}
+
@@ -248,19 +250,19 @@ async function checkAppUpdate() {
Access Token 列表
-
添加
+
-
- {{ item }}
-
删除
+
+ {{ item }}
+
@@ -270,17 +272,19 @@ async function checkAppUpdate() {
Host 列表
-
添加
+
- {{ item }}
删除
+
+ {{ item }}
+
diff --git a/src/components/common/Setting/index.vue b/src/components/common/Setting/index.vue
index 753a3be..3a0f43a 100644
--- a/src/components/common/Setting/index.vue
+++ b/src/components/common/Setting/index.vue
@@ -31,7 +31,7 @@ const show = computed({
-
+
diff --git a/src/store/modules/user/index.ts b/src/store/modules/user/index.ts
index 4dbe14b..8ab2f38 100644
--- a/src/store/modules/user/index.ts
+++ b/src/store/modules/user/index.ts
@@ -12,6 +12,7 @@ export const useUserStore = defineStore('user-store', {
addApiKey(apiKey: string) {
this.userConfig.apiKeyList.push(apiKey)
+ this.recordState()
},
deleteApiKey(apiKey: string) {
@@ -21,6 +22,7 @@ export const useUserStore = defineStore('user-store', {
addAccessToken(accessToken: string) {
this.userConfig.accessTokenList.push(accessToken)
+ this.recordState()
},
deleteAccessToken(accessToken: string) {