mirror of
https://github.com/youzan/vant.git
synced 2025-10-18 01:17:15 +00:00
fix(cli): version selection jump undefiend (#5620)
This commit is contained in:
@@ -127,7 +127,9 @@ export default {
|
||||
},
|
||||
|
||||
onSwitchVersion(version) {
|
||||
location.href = version.link;
|
||||
if (version.link) {
|
||||
location.href = version.link;
|
||||
}
|
||||
},
|
||||
},
|
||||
};
|
||||
|
Reference in New Issue
Block a user