refactor: 项目规范
This commit is contained in:
@@ -208,7 +208,7 @@ export default {
|
||||
}, 100)
|
||||
},
|
||||
getSupDepts(id) {
|
||||
crudMenu.describeMenuSuperior(id).then(res => {
|
||||
crudMenu.queryMenuSuperior(id).then(res => {
|
||||
const children = res.map(function(obj) {
|
||||
if (!obj.leaf && !obj.children) {
|
||||
obj.children = null
|
||||
|
||||
Reference in New Issue
Block a user