feat(wip): 自定义编辑框

This commit is contained in:
CrescentLeaf
2026-01-04 23:28:09 +08:00
parent 3bada7c431
commit 82de2eff42
4 changed files with 100 additions and 44 deletions

View File

@@ -160,7 +160,7 @@ export default function ChatFragment({
}} onDrop={(e) => {
// 文件拽入
}}>
<mdui-text-field variant="outlined" use-patched-textarea placeholder="(。・ω・。)" autosize ref={inputRef} /* max-rows={6} */ onChange={() => {
<mdui-text-field variant="outlined" use-patched-textarea placeholder="(。・ω・。)" autosize ref={inputRef} max-rows={6} onChange={() => {
if (inputRef.current?.value.trim() == '') {
// 清空缓存的文件
}