Skip to content

Commit

Permalink
cancel add latest into version list
Browse files Browse the repository at this point in the history
  • Loading branch information
luanwenfei-venus authored Jan 5, 2024
1 parent d2d212a commit 2ceeefa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/.vuepress/components/Versions.vue
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ export default {
if (this.options.length === 0) {
return;
}
this.options.unshift({ value: "latest", text: "latest" });
// 不再添加Latest选项
// this.options.unshift({ value: "latest", text: "latest" });
const path = window.location.pathname;
if (path.startsWith("/versions/")) {
const start = 10;
Expand Down

0 comments on commit 2ceeefa

Please sign in to comment.