doc: update menu

pull/6719/head
tangjinzhou 2023-07-14 12:11:27 +08:00
parent a2e50dc43e
commit 5fd00c05b5
1 changed files with 0 additions and 5 deletions

View File

@ -71,11 +71,6 @@ export default defineComponent({
};
const changeVersion = (v: string) => {
if (v === '3x') {
// TODO: 3.x site
location.href = `https://antdv.com${route.fullPath}`;
return;
}
location.href = `https://${v}.antdv.com${route.fullPath}`;
};
return {