Skip to content

Commit

Permalink
test: build
Browse files Browse the repository at this point in the history
  • Loading branch information
jamebal committed May 14, 2024
1 parent 46f057c commit 129b905
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/store/modules/user/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const useUserStore = defineStore('user-store', {
this.userInfo = { ...this.userInfo, ...userInfo }
this.recordState()
if (update) {
await fetchUpdateUserInfo(userInfo.name ?? '', userInfo.avatar ?? '', userInfo.description ?? '')
await fetchUpdateUserInfo(userInfo.name ?? '', userInfo.avatar ?? '', userInfo.description ?? '', userInfo.temperature ?? 0.8, userInfo.top_p ?? 0.9, userInfo.presencePenalty ?? 0.6, userInfo.systemRole ?? '')
// 更新用户信息和额度写一起了,如果传了额度则更新
if (userInfo.useAmount)
await fetchUpdateUserAmt(userInfo.useAmount)
Expand Down

0 comments on commit 129b905

Please sign in to comment.