This commit is contained in:
syuilo 2019-07-06 22:53:15 +09:00
parent 64397708fd
commit 067e9ec6f4
1 changed files with 1 additions and 0 deletions

View File

@ -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/');