Skip to content

[BUG] deeplink not working as expected #670

@hllshiro

Description

@hllshiro

问题描述

deeplink未按预期工作,表现为唤起程序后,切换到聊天界面,但不会自动输入msg。

重现步骤

重现此行为的步骤:

  1. 浏览器或运行,输入“deepchat://start?msg=123“
  2. app启动后,自动进入chat界面,但未自动输入123

预期行为

自动在聊天窗口输入123

补充说明

NewThread.vue中监听newCache,并根据切换模型或设置内容,但chatInputRef的setText实现,仅将值赋值到inputText(最终提交数据),而未设置editor(编辑器)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions