Forráskód Böngészése

Merge branch 'master' of http://119.23.210.103:3000/wy/zdqy_firm_former

cfort 10 hónapja
szülő
commit
3876780681
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      src/views/infosManage/opRecordUpload.vue

+ 1 - 1
src/views/infosManage/opRecordUpload.vue

@@ -254,7 +254,7 @@ export default {
             this.addDataCont = { fenLei: nodeData.name, fenLeiId: nodeId }
             // 文件控制-纸质运行记录上传页面,无下级菜单且无添加按钮时显示添加按钮(仅对纸质运行记录上传列表生效)
             if (this.pageKey === 'ywyxjlsc') {
-                const noChildren = nodeData.isLeaf === 'Y'
+                const noChildren = !nodeData.children?.length
                 const hasAddBtn = this.listConfig.toolbars.some(el => el.key === 'add')
 
                 if (!noChildren && hasAddBtn) {