Skip to content

Commit

Permalink
fix: incorrect lang deps issue
Browse files Browse the repository at this point in the history
  • Loading branch information
tikazyq committed Jun 15, 2024
1 parent e20af1b commit ef207d5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/views/deps/components/form/InstallForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,9 @@ export default defineComponent({
if (!props.visible) return;
versionsLoading.value = true;
try {
console.debug('getVersions', props.names[0])
const res = await get(`${endpointL}/${props.lang}/${props.names[0]}/versions`)
const res = await get(`${endpointL}/${props.lang}/versions`, {
repo: props.names[0],
})
versions.value = res.data;
if (versions.value.length > 0) {
version.value = versions.value[0];
Expand Down

0 comments on commit ef207d5

Please sign in to comment.