forked from FoundKeyGang/FoundKey
Fix bug
This commit is contained in:
parent
64397708fd
commit
067e9ec6f4
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue