bugfix tocitem

This commit is contained in:
2020-07-14 22:51:20 +02:00
parent 918a6c602e
commit 61303fde4d
+3 -1
View File
@@ -100,7 +100,9 @@ export default {
// console.log('editionid', this.editionid) // console.log('editionid', this.editionid)
// }, // },
beforeMount () { beforeMount () {
this.isOpened = this.$route.params.textid.indexOf(this.item.uuid) >= 0 if (typeof this.$route.params.textid !== 'undefined') {
this.isOpened = this.$route.params.textid.indexOf(this.item.uuid) >= 0
}
}, },
methods: { methods: {
onclick (e) { onclick (e) {