Record scroll test (#2783)

* perf: history add scrollList (#2696)

* perf: chatHistorySlider add virtualList

* perf: chat records add scrollList

* delete console

* perf: ScrollData add ref props

* 优化代码

* optimize code && add line breaks

* add total records display

* finish test

* perf: ScrollComponent load data

* perf: Scroll components load

* perf: scroll code

---------

Co-authored-by: papapatrick <109422393+Patrickill@users.noreply.github.com>
This commit is contained in:
Archer
2024-09-24 17:13:32 +08:00
committed by shilin66
parent 8e0edaace1
commit 5f9479e889
46 changed files with 827 additions and 422 deletions

View File

@@ -208,6 +208,7 @@ async function handler(req: NextApiRequest, res: NextApiResponse) {
getChatItems({
appId: app._id,
chatId,
offset: 0,
limit,
field: `dataId obj value nodeOutputs`
}),
@@ -555,6 +556,7 @@ const authHeaderRequest = async ({
};
} else {
// token_auth
if (!appId) {
return Promise.reject('appId is empty');
}