增加语音合成功能

This commit is contained in:
RockYang
2025-04-01 17:03:51 +08:00
parent afb9193985
commit ff69cb231a
20 changed files with 216 additions and 88 deletions

View File

@@ -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);
},
},
});