PaddleNLP icon indicating copy to clipboard operation
PaddleNLP copied to clipboard

关于semantic-search的web服务页面搜索框交互问题

Open bruce0210 opened this issue 2 years ago • 1 comments

(1)semantic-search搭建起web服务后,其前端页面搜索框中:总是会在输入下一次搜索内容后,跳回上一次的搜索输入内容。。 请问是什么情况?该如何解决?

(2)btw:再就是有个小小的建议期望: 搜索框能否通过js还是什么办法 实现我点击搜索框,默认的框内文字就不显示了; c9ab326339e3b57e1477dc41a2fe4de 因为,现在这个在代码中设定的框内默认内容 需要人手动删。

上述(1)、(2)在实际业务场景中交互体验频率会比较高,看老师们有什么好的解决办法,感谢!

bruce0210 avatar Aug 03 '22 02:08 bruce0210

这是pr,看能不能满足您的需求。 https://github.com/PaddlePaddle/PaddleNLP/pull/2954

w5688414 avatar Aug 03 '22 10:08 w5688414

This issue is stale because it has been open for 60 days with no activity. 当前issue 60天内无活动,被标记为stale。

github-actions[bot] avatar Dec 08 '22 02:12 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale. 当前issue 被标记为stale已有14天,即将关闭。

github-actions[bot] avatar Dec 22 '22 16:12 github-actions[bot]