diff --git a/examples/app.vue b/examples/app.vue index 99c268b6..14c19c1f 100644 --- a/examples/app.vue +++ b/examples/app.vue @@ -118,6 +118,7 @@ name: 'app', methods: { renderAnchorHref() { + if (/changelog/g.test(location.href)) return; const anchors = document.querySelectorAll('h2 a,h3 a'); const basePath = location.href.split('#').splice(0, 2).join('#'); diff --git a/examples/index.tpl b/examples/index.tpl index 1dc3081f..9d136304 100644 --- a/examples/index.tpl +++ b/examples/index.tpl @@ -7,8 +7,8 @@
<% if (process.env.NODE_ENV === 'production') { %> - - <% } %> + + <% } %> <% if (process.env.NODE_ENV === 'production') { %>