3.11提交
This commit is contained in:
@@ -152,16 +152,14 @@
|
||||
popupRef.value && popupRef.value.close()
|
||||
inputContent.value = ''
|
||||
}
|
||||
|
||||
|
||||
const onConfirm = () => {
|
||||
const text = inputContent.value.trim()
|
||||
if (!text) {
|
||||
uni.showToast({ title: '请输入内容', icon: 'none' })
|
||||
return
|
||||
}
|
||||
replies.value = [text, ...replies.value]
|
||||
uni.setClipboardData({ data: text, showToast: false })
|
||||
uni.showToast({ title: '已添加并复制', icon: 'none' })
|
||||
addQuickReply();
|
||||
onCancel()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user