Ver código fonte

查询id修改

duy 2 anos atrás
pai
commit
da6eb533b1
1 arquivos alterados com 2 adições e 1 exclusões
  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
         
     })