vbea 3 жил өмнө
parent
commit
d7f016b0f4

+ 1 - 1
Strides-Admin/src/views/user/UserDetail.vue

@@ -419,7 +419,7 @@ export default {
               (vehicle.brand && vehicle.model && vehicle.licensePlate))],
             // ocppTagRequest: this.userModel.ocppTagResponse,
           }
-          if (this.selectedUser.userId) {
+          if (this.isEdit) {
             this.updateUser(params)
           } else {
             this.addUser(params);