diff --git a/src/views/projectcenter/ProjectAdd.vue b/src/views/projectcenter/ProjectAdd.vue index 551e1e77..51c51272 100644 --- a/src/views/projectcenter/ProjectAdd.vue +++ b/src/views/projectcenter/ProjectAdd.vue @@ -494,7 +494,7 @@ export default { }); }; - function managerChange(e, l, d, t) { + function managerChange(e, l, d) { !state.projectInfo.sourceBelongId && (state.projectInfo.sourceBelongId = d) !state.projectInfo.sourceBelongId && (state.projectInfo.sourceBelongName = d) } diff --git a/src/views/projectcenter/ProjectManage.vue b/src/views/projectcenter/ProjectManage.vue index 122a5af7..2b732e4a 100644 --- a/src/views/projectcenter/ProjectManage.vue +++ b/src/views/projectcenter/ProjectManage.vue @@ -1782,7 +1782,7 @@ export default { } ); - function managerChange(e, l, d, t) { + function managerChange(e, l, d) { !state.projectInfo.sourceBelongId && (state.projectInfo.sourceBelongId = d) !state.projectInfo.sourceBelongId && (state.projectInfo.sourceBelongName = d) }