no message

This commit is contained in:
kuaifan 2021-06-17 16:40:25 +08:00
parent b0eb7770ac
commit 634b63241b
3 changed files with 11 additions and 2 deletions

View File

@ -103,7 +103,7 @@ export default {
}
this.lists[key].lists.push(item);
});
this.hasMorePages = data.hasMorePages;
this.hasMorePages = data.current_page < data.last_page;
this.totalNum = data.total;
}).catch(() => {
this.loadIng--;

View File

@ -668,7 +668,7 @@ export default {
const column = state.projectDetail.project_column.find(({id}) => id === task.column_id);
if (column) {
const project_task = column.project_task.find(({id}) => id === task.parent_id)
if (project_task) {
if (project_task && project_task.sub_task) {
let index = project_task.sub_task.findIndex(({id}) => id === task.id)
if (index === -1) {
project_task.sub_task.push(task);

View File

@ -396,6 +396,15 @@
height: 59px;
line-height: 59px;
}
&.logs-loading {
display: flex;
align-items: center;
.common-loading {
width: 22px;
height: 22px;
margin: 0;
}
}
}
}
}