中心调研链接有效期为空时验证码不展示
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
5ec234c9dd
commit
9b7d9d3c88
|
|
@ -389,6 +389,9 @@ export default {
|
||||||
if (res.IsSuccess) {
|
if (res.IsSuccess) {
|
||||||
this.validityPeriod = res.Result.LinkExpirationTime
|
this.validityPeriod = res.Result.LinkExpirationTime
|
||||||
this.LinkVerificationCode = res.Result.LinkVerificationCode || this.$route.query.researchProgramNo
|
this.LinkVerificationCode = res.Result.LinkVerificationCode || this.$route.query.researchProgramNo
|
||||||
|
if (!this.validityPeriod) {
|
||||||
|
this.LinkVerificationCode = null
|
||||||
|
}
|
||||||
if (!this.validityPeriod) return false
|
if (!this.validityPeriod) return false
|
||||||
this.getLinkTimeIsExpired()
|
this.getLinkTimeIsExpired()
|
||||||
this.shareLink = `${location.protocol}//${location.host}/researchLogin?trialId=${this.$route.query.trialId}`
|
this.shareLink = `${location.protocol}//${location.host}/researchLogin?trialId=${this.$route.query.trialId}`
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue