mirror of
https://gitee.com/lijingbo-2021/open-anylink-web.git
synced 2025-12-30 02:52:26 +00:00
非输入框模式不能重新编辑和引用
This commit is contained in:
@@ -861,7 +861,8 @@ const onSelectMenuMsgItem = async (label) => {
|
||||
})
|
||||
break
|
||||
case 'quote':
|
||||
props.inputEditorRef.insertQuote({
|
||||
// 非输入框模式无法引用
|
||||
props.inputEditorRef?.insertQuote({
|
||||
account: msg.value.fromId,
|
||||
nickName: nickNameFromMsg.value,
|
||||
msgId: msg.value.msgId, // 引用要用msg.value.msgId
|
||||
@@ -881,7 +882,8 @@ const onSelectMenuMsgItem = async (label) => {
|
||||
}
|
||||
|
||||
const handleReedit = () => {
|
||||
props.inputEditorRef.reeditFromRevoke(msg.value.content)
|
||||
// 非输入框模式无法重新编辑
|
||||
props.inputEditorRef?.reeditFromRevoke(msg.value.content)
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user