Skip to content
Snippets Groups Projects
Commit b52ad72f authored by Ron Lucke's avatar Ron Lucke
Browse files

fix #848

parent efcdcfda
No related branches found
No related tags found
No related merge requests found
...@@ -165,11 +165,16 @@ export default { ...@@ -165,11 +165,16 @@ export default {
return this.block?.attributes?.payload?.cc_base; return this.block?.attributes?.payload?.cc_base;
}, },
activeUrl() { activeUrl() {
if (this.currentSubmitUserId) { if (this.currentUrl) {
return this.currentUrl + '?' + this.currentSubmitParam + '=' + md5(this.userId + this.currentSalt); let url = new URL(this.currentUrl);
} else { if (this.currentSubmitUserId === 'true') {
return this.currentUrl; url.searchParams.append(this.currentSubmitParam, md5(this.userId + this.currentSalt));
}
return url.href;
} }
return '';
}, },
}, },
mounted() { mounted() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment