mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-12-26 10:05:57 +08:00
增加语音合成功能
This commit is contained in:
@@ -10,6 +10,7 @@ export const useSharedStore = defineStore("shared", {
|
||||
theme: Storage.get("theme", "light"),
|
||||
isLogin: false,
|
||||
chatListExtend: Storage.get("chat_list_extend", true),
|
||||
ttsModel: Storage.get("tts_model", ""),
|
||||
}),
|
||||
getters: {},
|
||||
actions: {
|
||||
@@ -74,5 +75,10 @@ export const useSharedStore = defineStore("shared", {
|
||||
setIsLogin(value) {
|
||||
this.isLogin = value;
|
||||
},
|
||||
|
||||
setTtsModel(value) {
|
||||
this.ttsModel = value;
|
||||
Storage.set("tts_model", value);
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user