|
@@ -26,10 +26,9 @@ $(document).ready(() => {
|
|
|
|
|
|
const Utils = {
|
|
|
getRowTdHtml: function (node, tree) {
|
|
|
- console.log(node);
|
|
|
const html = [];
|
|
|
// 名称
|
|
|
- html.push('<td width="20%" class="in-' + node.tree_level + '">');
|
|
|
+ html.push('<td class="in-' + node.tree_level + '">');
|
|
|
if (node.is_folder) {
|
|
|
if (node.children.length > 0) {
|
|
|
html.push('<span onselectstart="return false" style="{-moz-user-select:none}" class="fold-switch mr-1" title="收起" id="'+ node.id +'"><i class="fa fa-minus-square-o"></i></span> <i class="fa fa-folder-o"></i> ', node.name);
|