imatrix-ui 2.9.16-dw → 2.9.17-dw
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -113,7 +113,6 @@ const departmentTreeService = {
|
|
|
113
113
|
// 表示当前选中的节点是部门
|
|
114
114
|
const department = JSON.parse(data.data)
|
|
115
115
|
this.selectUser(null, department)
|
|
116
|
-
this.isloading = false
|
|
117
116
|
}
|
|
118
117
|
if (data.childDepartments) {
|
|
119
118
|
// 如果已展开,不需要再走后台获得其子节点。只需要选中已有子节点
|
|
@@ -142,6 +141,9 @@ const departmentTreeService = {
|
|
|
142
141
|
this.isloading = false
|
|
143
142
|
}
|
|
144
143
|
})
|
|
144
|
+
} else {
|
|
145
|
+
// 如果是叶子节点则不需要loading状态
|
|
146
|
+
this.isloading = false
|
|
145
147
|
}
|
|
146
148
|
}
|
|
147
149
|
} else {
|