Skip to content

Commit

Permalink
fix: Modify review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
xuanlid committed Jan 13, 2025
1 parent 8121012 commit dd98cb6
Showing 1 changed file with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,15 @@ export default {
}
const handleConfirm = () => {
handleChangeVersion(versionGrid.value?.getRadioRow())
const selectVersion = versionGrid.value?.getRadioRow()
if (!selectVersion) {
message({
title: '版本选择',
message: '请选择要切换的版本'
})
return
}
handleChangeVersion(selectVersion)
}
watch([() => panel.show, () => selectedBlock.value], ([panelShow]) => {
Expand Down

0 comments on commit dd98cb6

Please sign in to comment.