Browse Source

修复计量台账附件获取当前节点bug

laiguoran 6 years ago
parent
commit
60c53abc26
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/public/js/stage.js

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

@@ -108,7 +108,7 @@ function getAllList(currPageNum = 1) {
 function getNodeList(node) {
     let html = '';
     for(const att of attData) {
-        if (parseInt(node) === att.lid) {
+        if (parseInt(node) === parseInt(att.lid)) {
             html += '<tr><td><a href="javascript:void(0)" file-id="'+ att.id +'">'+ att.filename + att.fileext +'</a></td><td>'+ att.username +'</td></tr>';
 
         }