From 892fa31fa224eb84df241ea867e9d31c17ebac02 Mon Sep 17 00:00:00 2001 From: Slouchwind <2241051890@qq.com> Date: Sun, 16 Apr 2023 21:14:02 +0800 Subject: [PATCH] Fix Error --- components/window.tsx | 5 +---- pages/chat.tsx | 3 +-- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/components/window.tsx b/components/window.tsx index 452bc49..df7f2c7 100644 --- a/components/window.tsx +++ b/components/window.tsx @@ -53,10 +53,7 @@ export default class Window {

{title}

closeWindow()}>x

-
+
{element(closeWindow)}
)} ); diff --git a/pages/chat.tsx b/pages/chat.tsx index 24b90b1..dc1b744 100644 --- a/pages/chat.tsx +++ b/pages/chat.tsx @@ -103,7 +103,6 @@ export default function Info() {

请输入需要在列表{IdPromptTypeText[type || '+']}的学生的Id

{ idPromptInputRef.current = Number(e.target.value); }} /> )} zIndex={zIndex} display={display}