heyujie
2022-07-15 a0b5604fcefa0c7900ecc50830b718f77bba8f39
src/views/equipmentManagement/equipmentList/components/AddBox.vue
@@ -253,12 +253,12 @@
      let res = {};
      if (this.addObj.type == "cluster") {
        res = await addCluster({
          clusterPwd: this.auth_password,
          authPwd: this.auth_password,
          clusterId: this.addObj.id,
        });
      } else {
        res = await addDeviceToUser({
          clusterPwd: this.auth_password,
          authPwd: this.auth_password,
          deviceId: this.addObj.id,
          clusterId: this.addObj.cid,
        });