|
@@ -1111,18 +1111,19 @@ export default {
|
|
|
if (this.form.tenantId != null) {
|
|
|
updateTenant(this.form).then((response) => {
|
|
|
this.$modal.msgSuccess("修改成功");
|
|
|
+ this.reset();
|
|
|
this.open = false;
|
|
|
this.getList();
|
|
|
});
|
|
|
} else {
|
|
|
addTenant(this.form).then((response) => {
|
|
|
this.$modal.msgSuccess("新增成功");
|
|
|
+ this.reset();
|
|
|
this.open = false;
|
|
|
this.getList();
|
|
|
});
|
|
|
}
|
|
|
}
|
|
|
- this.reset();
|
|
|
});
|
|
|
},
|
|
|
/** 提交按钮 */
|