From 2082eb6121f7040928421b5a0f7f05eb6aaa0e8b Mon Sep 17 00:00:00 2001 From: aixianling Date: Tue, 15 Mar 2022 09:31:04 +0800 Subject: [PATCH] BUG 28206 --- src/apps/AppSpecialPeople/add.vue | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/apps/AppSpecialPeople/add.vue b/src/apps/AppSpecialPeople/add.vue index 55ac7217..1af1a6f7 100644 --- a/src/apps/AppSpecialPeople/add.vue +++ b/src/apps/AppSpecialPeople/add.vue @@ -213,18 +213,17 @@ export default { this.getType() }, onShow() { - this.appId = this.$route.query.appId if (this.isEdit) { document.title = "编辑人员" + this.appId = this.$route.query.appId this.getDetail() } else { document.title = '新增人员' - if (this.appId) { + if (this.$route.query.appId) { + this.appId = this.$route.query.appId this.typeConfirm([this.$route.query]) } } - - }, methods: { ...mapActions(['selectEnterpriseContact']),