fix : 细节优化
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user