no message

This commit is contained in:
kuaifan 2022-01-08 17:29:05 +08:00
parent 134ab0fe98
commit 4c4d60dd83
2 changed files with 3 additions and 1 deletions

View File

@ -1467,7 +1467,7 @@ class ProjectController extends AbstractController
if (empty($projectFlow)) {
$projectFlow = ProjectFlow::createInstance([
'project_id' => $project->id,
'name' => 'Default'
'name' => 'Default workflow'
]);
if (!$projectFlow->save()) {
throw new ApiException('工作流创建失败');

View File

@ -279,6 +279,7 @@ export default {
]
})
this.openIndex = "index_" + id;
this.$nextTick(this.syncScroller);
},
onDelete(data) {
@ -428,6 +429,7 @@ export default {
this.list.push(data)
}
this.openIndex = "index_" + data.id;
this.$nextTick(this.syncScroller);
}).catch(({msg}) => {
this.loadIng--;
$A.modalError(msg);