diff --git a/web/src/management/pages/edit/components/QuestionWrapper.vue b/web/src/management/pages/edit/components/QuestionWrapper.vue index 4ca3df14..a334c75b 100644 --- a/web/src/management/pages/edit/components/QuestionWrapper.vue +++ b/web/src/management/pages/edit/components/QuestionWrapper.vue @@ -118,6 +118,10 @@ const onDelete = async () => { type: 'warning' }) + if (props.isSelected && props.isLast) { + emit('select', null) + } + const index = props.qIndex emit('changeSeq', { type: 'delete', index }) isHover.value = false