mirror of
https://github.com/kuaifan/dootask.git
synced 2026-02-28 12:50:48 +00:00
fix: 修复任务窗口无法发送表情的问题
This commit is contained in:
parent
7f5eb59ac5
commit
07a4196ed5
@ -790,6 +790,7 @@ export default {
|
||||
return;
|
||||
}
|
||||
if (this.taskId > 0) {
|
||||
// 如果当前打开着任务窗口则关闭对话窗口
|
||||
this.$store.dispatch("openDialog", 0);
|
||||
}
|
||||
this.$store.dispatch("openTask", this.dialogData.group_info.id);
|
||||
|
||||
@ -1082,7 +1082,7 @@ export default {
|
||||
this.$refs.upload.handleClick()
|
||||
},
|
||||
|
||||
msgDialog() {
|
||||
msgDialog(msgText = null) {
|
||||
if (this.sendLoad > 0) {
|
||||
return;
|
||||
}
|
||||
@ -1106,14 +1106,15 @@ export default {
|
||||
$A.onBlur();
|
||||
this.$store.state.dialogMsgTransfer = {
|
||||
time: $A.Time() + 10,
|
||||
msgText: this.msgText,
|
||||
msgRecord: this.msgRecord,
|
||||
msgFile: this.msgFile,
|
||||
msgRecord: this.msgRecord
|
||||
msgText: typeof msgText === 'string' && msgText ? msgText : this.msgText,
|
||||
};
|
||||
this.msgRecord = {};
|
||||
this.msgFile = [];
|
||||
this.msgText = "";
|
||||
if (this.dialogId > 0) {
|
||||
// 如果当前打开着对话窗口则关闭任务窗口
|
||||
this.$store.dispatch("openTask", 0);
|
||||
}
|
||||
this.$store.dispatch('openDialog', data.dialog_id)
|
||||
@ -1183,9 +1184,9 @@ export default {
|
||||
this.msgDialog()
|
||||
},
|
||||
|
||||
onSend() {
|
||||
onSend(msgText) {
|
||||
this.$refs.chatInput && this.$refs.chatInput.hidePopover();
|
||||
this.msgDialog();
|
||||
this.msgDialog(msgText);
|
||||
},
|
||||
|
||||
deleteFile(file) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user