Skip to content

Commit

Permalink
refactor: 题目删除和逻辑关联优化,#182 (#393)
Browse files Browse the repository at this point in the history
Co-authored-by: jiangchunfu <[email protected]>
  • Loading branch information
webaddkevin and jiangchunfu committed Aug 12, 2024
1 parent b5c7ec3 commit 724535a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ const onMoveDown = () => {
}
}
const onDelete = async () => {
if (unref(hasShowLogic)) {
if (unref(hasShowLogic) || getShowLogicText.value) {
ElMessageBox.alert('该问题被逻辑依赖,请先删除逻辑依赖', '提示', {
confirmButtonText: '确定',
type: 'warning'
Expand Down

0 comments on commit 724535a

Please sign in to comment.