diff --git a/src/views/trials/trials-panel/attachments/site-research/index.vue b/src/views/trials/trials-panel/attachments/site-research/index.vue index d0592e96..b8e75f6b 100644 --- a/src/views/trials/trials-panel/attachments/site-research/index.vue +++ b/src/views/trials/trials-panel/attachments/site-research/index.vue @@ -389,6 +389,9 @@ export default { if (res.IsSuccess) { this.validityPeriod = res.Result.LinkExpirationTime this.LinkVerificationCode = res.Result.LinkVerificationCode || this.$route.query.researchProgramNo + if (!this.validityPeriod) { + this.LinkVerificationCode = null + } if (!this.validityPeriod) return false this.getLinkTimeIsExpired() this.shareLink = `${location.protocol}//${location.host}/researchLogin?trialId=${this.$route.query.trialId}`