瀏覽代碼

查询id修改

duy 2 年之前
父節點
當前提交
da6eb533b1
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/views/other/first-item.vue

+ 2 - 1
src/views/other/first-item.vue

@@ -270,7 +270,8 @@ const queryNodeStatus = async () => {
     const {error, code, data} = await wbsApi.queryNodeStatus({
         // primaryKeyId: info['contractIdRelation'] ? info['id'] : info['primaryKeyId'],
         // classify: 1
-       primaryKeyId: authBtnTabKey.value==1 ? info['id'] : info['primaryKeyId'],
+    //    primaryKeyId: authBtnTabKey.value==1 ? info['id'] : info['primaryKeyId'],
+        primaryKeyId:info.primaryKeyId,
         classify: authBtnTabKey.value
         
     })