Explorar o código

修复删除bug

ellisran hai 1 ano
pai
achega
aa200f7c8c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 {