From eb769a93a10fc09b7553601b4959caf010325db7 Mon Sep 17 00:00:00 2001 From: aixianling Date: Wed, 26 Jan 2022 17:41:48 +0800 Subject: [PATCH] BUG 27038 --- packages/party/partyMember/components/Add.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/party/partyMember/components/Add.vue b/packages/party/partyMember/components/Add.vue index 3c963ceb..33934df5 100644 --- a/packages/party/partyMember/components/Add.vue +++ b/packages/party/partyMember/components/Add.vue @@ -967,7 +967,7 @@ export default { starTime: this.jobForm.date[0], endTime: this.jobForm.date[1], })) - if (!!this.jobId) { + if (this.jobId != "") { this.form.workInfoList.splice(this.jobId, 1, info) } else { this.form.workInfoList.push(info) @@ -980,7 +980,7 @@ export default { this.$refs.starForm.validate((valid) => { if (valid) { let info = JSON.parse(JSON.stringify(this.starForm)) - if (!!this.starId) { + if (this.starId != "") { this.form.starList.splice(this.starId, 1, info) } else { this.form.starList.push(info) @@ -993,7 +993,7 @@ export default { this.$refs.disciplinaryForm.validate((valid) => { if (valid) { let info = JSON.parse(JSON.stringify(this.disciplinaryForm)) - if (!!this.disciplinaryId) { + if (this.disciplinaryId != "") { this.form.disciplinaryInfoList.splice(this.disciplinaryId, 1, info) } else { this.form.disciplinaryInfoList.push(info)