瀏覽代碼

资料归集,无权限时,不允许移动

MaiXinRong 2 年之前
父節點
當前提交
c1faf8f1c2
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      app/public/js/file_detail.js

+ 1 - 0
app/public/js/file_detail.js

@@ -420,6 +420,7 @@ $(document).ready(function() {
                 filingObj.expandFiling(node, false);
             },
             beforeDrop: function(key, nodes, target, moveType, isCopy) {
+                if (!canFiling) return false;
                 if (!target) return false;
                 if (nodes[0].level < 1) {
                     toastr.error('顶层节点请勿移动');