8
0
duy 8 mesiacov pred
rodič
commit
e34c2783f4

+ 7 - 4
src/components/table-form/modules/components.vue

@@ -91,11 +91,14 @@ onMounted(() => {
     }
     matchingType()
     const tableId = getStoreValue('tableId')
+    if (tableId) {
     Object.keys(tableId).forEach(key => {
-        if (key === props.keyname) {
-            placeholder.value = tableId[key]
-        }
-    })
+            if (key === props.keyname) {
+                placeholder.value = tableId[key]
+            }
+        })
+    }
+  
 
 })
 

+ 1 - 0
src/views/project/list/wbs-tree.vue

@@ -805,6 +805,7 @@ const adjustExcelClick = async (row) => {
     }
     adjustExcelInfo.value = deepClone(row)
     adjustExcelLoading.value = false
+    await nextTick()
     isAdjustExcelShow.value = true
 }