Pārlūkot izejas kodu

收藏夹修改

duy 1 mēnesi atpakaļ
vecāks
revīzija
c32042e95a
1 mainītis faili ar 5 papildinājumiem un 0 dzēšanām
  1. 5 0
      src/views/data-fill/wbs.vue

+ 5 - 0
src/views/data-fill/wbs.vue

@@ -3009,6 +3009,11 @@ const searchNodeAllTable1 = async () => {
 const NodeStatus = ref('1')
 const queryNodeStatus = async () => {
     const info = nodeDataInfo.value
+
+    
+    if (!info['primaryKeyId']) {
+        return
+    }
     if (contractInfo.value?.contractType == 1) {
         const { error, code, data } = await wbsApi.queryNodeStatus({
             primaryKeyId: info['primaryKeyId'],