From 2aaa6ed776016cb8728421914f9ac652fc66960a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=83=91=E6=B5=A9=E4=B9=90?= <89932980@qq.com> Date: Tue, 22 Mar 2016 15:25:23 +0800 Subject: [PATCH] =?UTF-8?q?updated=20=E5=8E=BB=E9=99=A4=E5=9C=A8=E9=80=89?= =?UTF-8?q?=E6=8B=A9=E5=99=A8=E4=B8=AD=E6=8E=92=E9=99=A4=E2=80=9C=E6=88=91?= =?UTF-8?q?=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script/relationship.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/relationship.js b/script/relationship.js index 739e1bb..0e39c43 100644 --- a/script/relationship.js +++ b/script/relationship.js @@ -454,7 +454,7 @@ var has = false; for(var i in _data){ var value = _data[i]; - if(value.indexOf(name)>-1){ //是否存在该关系 + if(i&value.indexOf(name)>-1){ //是否存在该关系 arr.push(i); has = true; }