mirror of
https://github.com/kuaifan/dootask.git
synced 2026-03-17 11:13:26 +00:00
fix: 从任务窗口发送聊天输入缓存的问题
This commit is contained in:
parent
9a12184f9b
commit
ce76f2d817
@ -1299,12 +1299,13 @@ export default {
|
|||||||
this.msgRecord = {};
|
this.msgRecord = {};
|
||||||
this.msgFile = [];
|
this.msgFile = [];
|
||||||
this.msgText = "";
|
this.msgText = "";
|
||||||
if (this.dialogId > 0) {
|
this.$nextTick(_ => {
|
||||||
// 如果当前打开着对话窗口则关闭任务窗口
|
if (this.dialogId > 0) {
|
||||||
this.$store.dispatch("openTask", 0);
|
this.$store.dispatch("openTask", 0) // 如果当前打开着对话窗口则关闭任务窗口
|
||||||
}
|
}
|
||||||
this.$store.dispatch('openDialog', data.dialog_id).then(_ => {
|
this.$store.dispatch('openDialog', data.dialog_id).then(_ => {
|
||||||
this.$store.state.dialogMsgTransfer = transferData
|
this.$store.state.dialogMsgTransfer = transferData
|
||||||
|
})
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
this.sendDialogMsg(msgText);
|
this.sendDialogMsg(msgText);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user