Fix bug
This commit is contained in:
parent
64397708fd
commit
067e9ec6f4
|
@ -63,6 +63,7 @@ export default Vue.extend({
|
||||||
data() {
|
data() {
|
||||||
const isSelf = this.url.startsWith(local);
|
const isSelf = this.url.startsWith(local);
|
||||||
const hasRoute =
|
const hasRoute =
|
||||||
|
(this.url.substr(local.length) === '/') ||
|
||||||
this.url.substr(local.length).startsWith('/@') ||
|
this.url.substr(local.length).startsWith('/@') ||
|
||||||
this.url.substr(local.length).startsWith('/notes/') ||
|
this.url.substr(local.length).startsWith('/notes/') ||
|
||||||
this.url.substr(local.length).startsWith('/pages/');
|
this.url.substr(local.length).startsWith('/pages/');
|
||||||
|
|
Loading…
Reference in New Issue