Explorar o código

附件定位问题

MaiXinRong hai 6 horas
pai
achega
9ba2c48395
Modificáronse 1 ficheiros con 2 adicións e 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 () {