瀏覽代碼

修复删除bug

ellisran 1 年之前
父節點
當前提交
aa200f7c8c
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/public/js/setting_manage.js

+ 1 - 1
app/public/js/setting_manage.js

@@ -575,7 +575,7 @@ const tenderListSpec = (function(){
         const html = [];
         html.push('<tr pid="' + pid + '"', (node.cid ? '' : 'class="tender-info" data-id="'+ node.id +'"'), '>');
         // 名称
-        html.push('<td style="width: 80%" class="in-' + node.level + '">');
+        html.push('<td style="width: 80%" class="in-' + node.level + '"' + (node.cid ? '' : 'tid="' + node.id + '"') + '>');
         if (node.cid) {
             html.push('<span onselectstart="return false" style="{-moz-user-select:none}" class="fold-switch mr-1" title="收起" cid="'+ node.sort_id +'"><i class="fa fa-minus-square-o"></i></span> <i class="fa fa-folder-o"></i> ', node.name);
         } else {