updated 代码优化

This commit is contained in:
mumuy 2016-04-26 17:09:01 +08:00
parent fb0ace0c1b
commit 9007c2f8fb

View File

@ -94,9 +94,7 @@
var result = relationship(value);
$textarea[1].value = '';
if(result.length){
for(var i=0;i<result.length;i++){
$textarea[1].value += result[i]+'\n';
}
$textarea[1].value = result.join('\n');
}else{
$textarea[1].value = '貌似他/她跟你不是很熟哦!';
}