فهرست منبع

收藏夹修改

duy 1 ماه پیش
والد
کامیت
c32042e95a
1فایلهای تغییر یافته به همراه5 افزوده شده و 0 حذف شده
  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'],