perf: 凭证校验
This commit is contained in:
@@ -38,9 +38,7 @@ const modelList = () => {
|
||||
async (modelId: string) => {
|
||||
setIsLoading(true);
|
||||
try {
|
||||
const chatId = await getChatSiteId(modelId);
|
||||
|
||||
router.push(`/chat?chatId=${chatId}`, undefined, {
|
||||
router.push(`/chat?modelId=${modelId}`, undefined, {
|
||||
shallow: true
|
||||
});
|
||||
} catch (err: any) {
|
||||
|
||||
Reference in New Issue
Block a user