fix: missing import dsl version incompatible modal (#27338)

This commit is contained in:
非法操作 2025-10-23 20:34:41 +08:00 committed by GitHub
parent 8bca7814f4
commit 2f3a61b51b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -132,8 +132,6 @@ const CreateFromDSLModal = ({ show, onSuccess, onClose, activeTab = CreateFromDS
importedVersion: imported_dsl_version ?? '',
systemVersion: current_dsl_version ?? '',
})
if (onClose)
onClose()
setTimeout(() => {
setShowErrorModal(true)
}, 300)