Browse Source

提交代码。

Signed-off-by: zouap <zouap@pcl.ac.cn>
tags/v1.22.8.1^2
zouap 3 years ago
parent
commit
6f5082cc29
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      templates/repo/modelmanage/index.tmpl

+ 2
- 2
templates/repo/modelmanage/index.tmpl View File

@@ -479,8 +479,8 @@
for(let j=0;j < fileSplits.length;j++){
if(fileSplits[j] == ""){
if(data[i].FileName[data[i].FileName.length -1] =="/"){
if(Object.keys(parentNodeMap[fileSplits[j-1]]).length ==0){
parentNodeMap[fileSplits[j-1]][dirKey]="true";
if(Object.keys(parentNodeMap).length ==0){
parentNodeMap[dirKey]="true";
}
}
break;


Loading…
Cancel
Save