فهرست منبع

修改递归逻辑

QuietShadow 3 سال پیش
والد
کامیت
7957643c1f
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/views/energyOperationSupport/components/securitys/pic1.vue

+ 1 - 1
src/views/energyOperationSupport/components/securitys/pic1.vue

@@ -798,7 +798,7 @@
           if(item.fileName != null && item.createMan === name) {
             g++;
             children.push({
-              id: id + '-' + (children.length+1),
+              id: id + '-' + i + '-' + (children.length+1),
               label: item.fileName,
               value: item.fileUrl,
               children: [],