fix: 页面布局

master
xjs 2025-04-10 13:09:43 +08:00
parent 691c0c39ec
commit 4b0ce04b7a
1 changed files with 5 additions and 5 deletions

View File

@ -21,10 +21,10 @@ export default function MyInput({ toRoom }: Props) {
await toRoom(); await toRoom();
dispatch(setInitMsg(`我的高考地点在${provinceName},我选择的科目是${subjectGroup},我的高考分数为${expectedScore}分。我适合哪些学校和专业`)); dispatch(setInitMsg(`我的高考地点在${provinceName},我选择的科目是${subjectGroup},我的高考分数为${expectedScore}分。我适合哪些学校和专业`));
}; };
const handleReadWorld = async () => { // const handleReadWorld = async () => {
await toRoom(); // await toRoom();
dispatch(setInitMsg(`这是我的文档地址https://static-data.ycymedu.com/pdf/663640899633221.pdf读取它。并给出见解`)) // dispatch(setInitMsg(`这是我的文档地址https://static-data.ycymedu.com/pdf/663640899633221.pdf读取它。并给出见解`))
} // }
return ( return (
<div className={style.scoreWrapper}> <div className={style.scoreWrapper}>
@ -42,7 +42,7 @@ export default function MyInput({ toRoom }: Props) {
<img src={RightBlueIcon} alt="right" className={style.rightBlue} /> <img src={RightBlueIcon} alt="right" className={style.rightBlue} />
</div> </div>
</div> </div>
<div onClick={handleReadWorld}></div> {/* <div onClick={handleReadWorld}>测试阅读文档</div> */}
</div> </div>
); );
} }