|
|
@@ -670,7 +670,7 @@ export default {
|
|
|
submitForm: function() {
|
|
|
this.$refs["form"].validate(valid => {
|
|
|
if (valid) {
|
|
|
- if (this.form.userId != undefined) {
|
|
|
+ if (this.form.id != undefined) {
|
|
|
updateUser(this.form).then(response => {
|
|
|
this.$modal.msgSuccess("修改成功");
|
|
|
this.open = false;
|