From 11e0994012f384b6de1ae8b319285e0c82c9fe9a Mon Sep 17 00:00:00 2001 From: tangjinzhou <415800467@qq.com> Date: Sun, 17 Oct 2021 09:24:18 +0800 Subject: [PATCH] doc: update v3 & qrcode --- antdv-demo/components/header.vue | 33 ++++++++++++----------- antdv-demo/components/right_bottom_ad.vue | 10 ++++++- 2 files changed, 27 insertions(+), 16 deletions(-) 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 && (