Commit 7ef25eff authored by dindigala's avatar dindigala
Browse files

refactor: remove obsolete code

parent 590e284f
Pipeline #206472 passed with stages
in 3 minutes and 21 seconds
......@@ -15,20 +15,9 @@ export default {
methods: {
toggleSheet(itemIndex) {
const link = this.itemurls[itemIndex];
this.defaultView();
this.defaultView();
this.$router.push({ query: { itemurl: link } });
// const tree = document.getElementsByClassName('view-tree');
//
// if (tree.length) {
// window.location.hash = `selectedItem-${link}`;
// tree[0].scrollBy(0, -80);
// }
//
// this.sequenceindex = this.computedsequenceindex;
// this.updateItem(this.itemurls[itemIndex], this.sequenceindex);
// this.updateSequenceIndex(this.sequenceindex);
},
updateItem() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment