Browse Source

资料归集,管理分类,编辑名称问题

MaiXinRong 5 months ago
parent
commit
e70527ef2a
1 changed files with 3 additions and 0 deletions
  1. 3 0
      app/public/js/filing_manage.js

+ 3 - 0
app/public/js/filing_manage.js

@@ -177,6 +177,9 @@ $(document).ready(function() {
 
                 filingObj.setCurFiling(node);
             },
+            beforeEditName: function(key, node) {
+                node.name = node.source_node.name;
+            },
             beforeRename: async function(key, node, newName, isCancel) {
                 if (!isCancel) await filingObj.renameFiling(node, newName);
                 return true;