代码优化:修改错别字

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) { getSupDepts(id) {
crudDept.getDeptSuperior(id).then(res => { crudDept.getDeptSuperior(id).then(res => {
const date = res.content const data = res.content
this.buildDepts(date) this.buildDepts(data)
this.depts = date this.depts = data
}) })
}, },
buildDepts(depts) { buildDepts(depts) {