mirror of
https://github.com/cs-lazy-tools/ChatGPT-On-CS.git
synced 2026-08-28 18:17:40 +08:00
fix: 默认回复无法保存的问题
This commit is contained in:
@@ -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: '保存成功',
|
||||
|
||||
Reference in New Issue
Block a user