mirror of
https://github.com/kuaifan/dootask.git
synced 2026-03-17 19:23:26 +00:00
fix: 任务聊天出现空白的情况
This commit is contained in:
parent
27441eb82e
commit
81b07ea6e8
@ -597,6 +597,7 @@ export default {
|
|||||||
'cacheProjects',
|
'cacheProjects',
|
||||||
'cacheColumns',
|
'cacheColumns',
|
||||||
'cacheTasks',
|
'cacheTasks',
|
||||||
|
'cacheDialogs',
|
||||||
'taskContents',
|
'taskContents',
|
||||||
'taskFiles',
|
'taskFiles',
|
||||||
'taskPriority',
|
'taskPriority',
|
||||||
@ -809,8 +810,13 @@ export default {
|
|||||||
if (val) {
|
if (val) {
|
||||||
this.timeValue = this.taskDetail.end_at ? [this.taskDetail.start_at, this.taskDetail.end_at] : [];
|
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: {
|
methods: {
|
||||||
within24Hours(date) {
|
within24Hours(date) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user