fix : 细节优化

This commit is contained in:
2024-03-25 22:39:25 +08:00
parent f646c13e9d
commit 5d31b52e67
23 changed files with 98 additions and 51 deletions

View File

@@ -182,8 +182,12 @@ const getEditOption = (deptId) => {
const getList = async () => {
loading.value = true
getDeptList(queryParams).then(res => {
list.value = res.data
loading.value = false
if (res.code === 1000) {
list.value = res.data
loading.value = false
} else {
ElMessage.error(res.msg);
}
})
}
const getDetail = (deptId) => {