From 63492da927176385433b21faf0e461b959e2e4ec Mon Sep 17 00:00:00 2001 From: ZhengJie <201507802@qq.com> Date: Wed, 13 May 2020 17:21:24 +0800 Subject: [PATCH] =?UTF-8?q?[=E4=BB=A3=E7=A0=81=E5=AE=8C=E5=96=84](v2.5):?= =?UTF-8?q?=20v2.5=20beta=20=E4=BF=AE=E5=A4=8D=E7=94=A8=E6=88=B7=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E5=B7=A6=E4=BE=A7=E9=83=A8=E9=97=A8=E6=90=9C=E7=B4=A2?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 2.5 Beta 详情:https://www.ydyno.com/archives/1225.html --- src/views/system/user/index.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue index caa7aa7..6bdf809 100644 --- a/src/views/system/user/index.vue +++ b/src/views/system/user/index.vue @@ -390,7 +390,9 @@ export default { const sort = 'id,desc' const params = { sort: sort } if (typeof node !== 'object') { - params['name'] = node + if (node) { + params['name'] = node + } } else if (node.level !== 0) { params['pid'] = node.data.id }