diff --git a/antdv-demo/components/header.vue b/antdv-demo/components/header.vue index 11090cfbb..d4fb670f6 100644 --- a/antdv-demo/components/header.vue +++ b/antdv-demo/components/header.vue @@ -17,7 +17,7 @@ export default { return { visibleAdblockBanner: !!this.demoContext.blocked, value: null, - showTopBanner: !localStorage.getItem('notification-key-2.2'), + showTopBanner: !localStorage.getItem('notification-key-next'), }; }, watch: { @@ -64,8 +64,8 @@ export default { this.value = val; }, closeTopBanner() {}, - changeVersion() { - location.href = `https://2x.antdv.com${this.$route.fullPath}`; + changeVersion(v) { + location.href = `https://${v}.antdv.com${this.$route.fullPath}`; }, }, render() { @@ -92,32 +92,32 @@ export default { {isCN && this.showTopBanner && (