doc: update menu

pull/6719/head
tangjinzhou 1 year ago
parent a2e50dc43e
commit 5fd00c05b5

@ -71,11 +71,6 @@ export default defineComponent({
}; };
const changeVersion = (v: string) => { 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}`; location.href = `https://${v}.antdv.com${route.fullPath}`;
}; };
return { return {

Loading…
Cancel
Save