mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-05-21 13:59:15 +08:00
fix(cli): version selection jump undefiend (#5620)
This commit is contained in:
parent
ddbfefab5c
commit
e99042a471
@ -127,7 +127,9 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
onSwitchVersion(version) {
|
onSwitchVersion(version) {
|
||||||
location.href = version.link;
|
if (version.link) {
|
||||||
|
location.href = version.link;
|
||||||
|
}
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user