测试用例修改

This commit is contained in:
sjl
2025-07-28 13:24:01 +08:00
parent e90cecfb5b
commit 6305a38e9d
8 changed files with 61 additions and 25 deletions

View File

@@ -124,9 +124,15 @@ const tableStore = new TableStore({
})
})
} else {
deleteDept([row.id]).then(response => {
ElMessage.success('删除成功')
tableStore.index()
ElMessageBox.confirm('是否确认删除该部门', '提示', {
confirmButtonText: '确认删除',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
deleteDept([row.id]).then(response => {
ElMessage.success('删除成功')
tableStore.index()
})
})
}
}