Explorar o código

查询id修改

duy %!s(int64=2) %!d(string=hai) anos
pai
achega
da6eb533b1
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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
         
     })