代码优化:修改错别字

This commit is contained in:
Zheng Jie
2023-07-07 17:36:38 +08:00
parent 1f09f74e61
commit 66e24cfea0

View File

@@ -162,9 +162,9 @@ export default {
},
getSupDepts(id) {
crudDept.getDeptSuperior(id).then(res => {
const date = res.content
this.buildDepts(date)
this.depts = date
const data = res.content
this.buildDepts(data)
this.depts = data
})
},
buildDepts(depts) {