Skip to content

Commit 63492da

Browse files
committed
[代码完善](v2.5): v2.5 beta 修复用户管理左侧部门搜索问题
2.5 Beta 详情:https://www.ydyno.com/archives/1225.html
1 parent bd6e504 commit 63492da

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎src/views/system/user/index.vue‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,9 @@ export default {
390390
const sort = 'id,desc'
391391
const params = { sort: sort }
392392
if (typeof node !== 'object') {
393-
params['name'] = node
393+
if (node) {
394+
params['name'] = node
395+
}
394396
} else if (node.level !== 0) {
395397
params['pid'] = node.data.id
396398
}

0 commit comments

Comments
 (0)