diff --git a/web/src/management/pages/edit/components/QuestionWrapper.vue b/web/src/management/pages/edit/components/QuestionWrapper.vue index 6b03f5ad..f4c3d8d9 100644 --- a/web/src/management/pages/edit/components/QuestionWrapper.vue +++ b/web/src/management/pages/edit/components/QuestionWrapper.vue @@ -138,7 +138,7 @@ const onMoveDown = () => { } } const onDelete = async () => { - if (unref(hasShowLogic)) { + if (unref(hasShowLogic) || getShowLogicText.value) { ElMessageBox.alert('该问题被逻辑依赖,请先删除逻辑依赖', '提示', { confirmButtonText: '确定', type: 'warning'