chenjunkai 6 年之前
父节点
当前提交
8469edd075
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      Controller/EquipmentManager.py

+ 2 - 0
Controller/EquipmentManager.py

@@ -91,6 +91,8 @@ def addNewUserEquipmentInterface(request):
                             # 分享添加
                             if 'isShare' in deviceData:
                                 deviceData['isShare'] = True
+                            else:
+                                deviceData['isShare'] = True
                             bind_userID = is_bind[0].userID_id
                             userDevice = Device_Info(id=CommonService.getUserID(getUser=False),
                                                      userID_id=userID,