feat(app): pass selected version to incompatibility warning modal (#4115)

Co-authored-by: IMB11 <hendersoncal117@gmail.com>
This commit is contained in:
fishstiz
2025-08-05 19:10:02 +08:00
committed by GitHub
parent 0dee21814d
commit e31197f649
2 changed files with 11 additions and 5 deletions

View File

@@ -76,10 +76,10 @@ const installing = ref(false)
const onInstall = ref(() => {})
defineExpose({
show: (instanceVal, projectVal, projectVersions, callback) => {
show: (instanceVal, projectVal, projectVersions, selected, callback) => {
instance.value = instanceVal
versions.value = projectVersions
selectedVersion.value = projectVersions[0]
selectedVersion.value = selected ?? projectVersions[0]
project.value = projectVal