Explorar el Código

附件定位问题

MaiXinRong hace 7 horas
padre
commit
9ba2c48395
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      app/public/js/stage.js

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

@@ -4839,8 +4839,9 @@ $(document).ready(() => {
         getCurHint: function(node) { return ''; },
         locate: function (att) {
             if (!att) return;
-            SpreadJsObj.locateDataBy(slSheet, function(x) { return x.id === att.node.id; });
+            SpreadJsObj.locateTreeNode(slSheet, att.node.ledger_id, true);
             stageFile.getCurAttHtml(att.node);
+            stageTreeSpreadObj.loadRelaData();
         }
     });
     $('a', '.right-nav').bind('click', function () {