fix: 默认回复无法保存的问题

This commit is contained in:
lrhh123
2024-07-03 00:07:02 +08:00
parent 197f4c5c7a
commit 6f97bf2232
@@ -63,11 +63,12 @@ const EditKeyword = ({
const handleSave = async () => {
try {
if (reply === '') {
if (replyList.length === 0) {
throw new Error('回复内容不能为空');
}
await handleEdit(replyList.join('[or]'));
toast({
position: 'top',
title: '保存成功',