更换接口

This commit is contained in:
aixianling
2023-02-07 15:19:22 +08:00
parent 182015e843
commit ff75533025

View File

@@ -90,7 +90,7 @@ export default {
})
},
getDepartments() {
this.instance.post("/app/wxcp/wxdepartment/listAll").then(res => {
this.instance.post("/app/wxcp/wxdepartment/listByUser").then(res => {
if (res?.data) {
this.treeData = this.$arr2tree(res.data, {parent: 'parentid'})
}