Browse Source

small tuning

TonyKang 7 years ago
parent
commit
12395ec4a2
1 changed files with 1 additions and 0 deletions
  1. 1 0
      web/maintain/report/js/rpt_tpl_main.js

+ 1 - 0
web/maintain/report/js/rpt_tpl_main.js

@@ -313,6 +313,7 @@ let zTreeOprObj = {
         let canContinue = false;
         if (isCopy) {
             me.getNewNodeID(1, function (newNodeID) {
+                treeNodes[0].ID = newNodeID;
                 treeNodes[0].refId = newNodeID;
                 newTopNode = me.buildRootNodeDoc(targetTopNode);
                 me.copyReportTemplate(treeNodes[0], newNodeID, true, function(goodResult){