mirror of
https://github.com/kuaifan/dootask.git
synced 2026-03-02 06:54:19 +00:00
fix: 任务聊天出现空白的情况
This commit is contained in:
parent
27441eb82e
commit
81b07ea6e8
@ -597,6 +597,7 @@ export default {
|
||||
'cacheProjects',
|
||||
'cacheColumns',
|
||||
'cacheTasks',
|
||||
'cacheDialogs',
|
||||
'taskContents',
|
||||
'taskFiles',
|
||||
'taskPriority',
|
||||
@ -809,7 +810,12 @@ export default {
|
||||
if (val) {
|
||||
this.timeValue = this.taskDetail.end_at ? [this.taskDetail.start_at, this.taskDetail.end_at] : [];
|
||||
}
|
||||
}
|
||||
},
|
||||
'taskDetail.dialog_id'(dialog_id) {
|
||||
if (dialog_id > 0 && !this.cacheDialogs.find(({id}) => id == dialog_id)) {
|
||||
this.$store.dispatch("getDialogOne", dialog_id).catch(() => {})
|
||||
}
|
||||
},
|
||||
},
|
||||
|
||||
methods: {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user