Skip to content

Commit

Permalink
fix:macro link
Browse files Browse the repository at this point in the history
  • Loading branch information
iRuxu committed Feb 13, 2024
1 parent d71d204 commit 160bdf5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/views/Bucket.vue
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ export default {
this.drawer = true;
this.drawer_title = author + "#" + m.name;
this.drawer_content = m.macro;
this.drawer_link = "./" + id + "?tab=" + m.name;
this.drawer_link = "/macro/" + id + "?tab=" + m.name;
this.drawer_id = id;
},
},
Expand Down
2 changes: 1 addition & 1 deletion src/views/Fav.vue
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ export default {
this.drawer = true;
this.drawer_title = author + "#" + m.name;
this.drawer_content = m.macro;
this.drawer_link = "./" + id + "?tab=" + m.name;
this.drawer_link = "/macro/" + id + "?tab=" + m.name;
this.drawer_id = id;
},
},
Expand Down
2 changes: 1 addition & 1 deletion src/views/Index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ export default {
this.drawer = true;
this.drawer_title = author + "#" + m.name;
this.drawer_content = m.macro;
this.drawer_link = "./" + id + "?tab=" + m.name;
this.drawer_link = "/macro/" + id + "?tab=" + m.name;
this.drawer_id = id;
},
postLink: function (val) {
Expand Down
2 changes: 1 addition & 1 deletion src/views/Landspace.vue
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ export default {
this.drawer = true;
this.drawer_title = author + "#" + m.name;
this.drawer_content = m.macro;
this.drawer_link = "./" + id + "?tab=" + m.name;
this.drawer_link = "/macro/" + id + "?tab=" + m.name;
this.drawer_id = id;
},
},
Expand Down

0 comments on commit 160bdf5

Please sign in to comment.