소스 검색

修复bug

ellisran 1 일 전
부모
커밋
cbb39232d6
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/public/js/shenpi.js

+ 1 - 1
app/public/js/shenpi.js

@@ -218,7 +218,7 @@ function getShenpiHtml (this_code) {
             if(aidList.length > 0) {
                 for (const uid of aidList) {
                     const user = _.find(accountList, { id: uid });
-                    nameList.push(user.name);
+                    if (user) nameList.push(user.name);
                 }
             }
             html.push('<i class="fa fa-question-circle text-primary" data-container="body" data-toggle="tooltip" data-placement="bottom" ' +