ChatGPT-Next-Web icon indicating copy to clipboard operation
ChatGPT-Next-Web copied to clipboard

[Bug] 点击同步会重置设置为默认选项

Open ekil1100 opened this issue 4 months ago • 3 comments

Bug Description

比如,把“发送键”设置为 meta+enter,点击“同步”,meta+enter 会变回 enter。

Steps to Reproduce

  1. 设置 upstash 同步参数
  2. 把“发送键”设置为 meta+enter
  3. 点击“同步”

Expected Behavior

设置不会变化

Screenshots

No response

Deployment Method

  • [ ] Docker
  • [X] Vercel
  • [ ] Server

Desktop OS

MacOS 14.2.1

Desktop Browser

Brave

Desktop Browser Version

版本 1.62.165 Chromium: 121.0.6167.184(正式版本) (x86_64)

Smartphone Device

No response

Smartphone OS

No response

Smartphone Browser

No response

Smartphone Browser Version

No response

Additional Logs

No response

ekil1100 avatar Feb 26 '24 14:02 ekil1100

Bot detected the issue body's language is not English, translate it automatically.


Title: [Bug] Clicking Sync will reset settings to default options

Issues-translate-bot avatar Feb 26 '24 14:02 Issues-translate-bot

I can reproduce this issue in web client, seems submitKey variable in localState is not correct

fred-bf avatar Feb 27 '24 08:02 fred-bf

@fred-bf What do you mean about localSate?

ekil1100 avatar Feb 27 '24 12:02 ekil1100