* fix bug for editor tree.

This commit is contained in:
wangyidong
2018-09-26 10:44:50 +08:00
parent 6357b9173d
commit 00e4fb3167
+1 -1
View File
@@ -199,7 +199,7 @@ class editorModel extends model
public function printTree($files, $isRoot = true)
{
if(empty($files) or !is_array($files)) return false;
$tree = $isRoot ? "<ul id='extendTree' class='tree tree-lines'>\n" : "<ul>\n";
$tree = $isRoot ? "<ul id='extendTree' class='tree tree-lines' data-ride='tree'>\n" : "<ul>\n";
if($isRoot)
{
$module = basename(dirname(key($files)));