|
|
@@ -514,7 +514,8 @@
|
|
|
updateStatus(row.id, 1)
|
|
|
.then((msg) => {
|
|
|
this.$message.success('启用成功');
|
|
|
- this.reload();
|
|
|
+ // this.reload();
|
|
|
+ this.$refs.table.reload();
|
|
|
})
|
|
|
.catch((e) => {
|
|
|
this.$message.error(e.message);
|
|
|
@@ -525,7 +526,8 @@
|
|
|
updateStatus(row.id, 2)
|
|
|
.then((msg) => {
|
|
|
this.$message.success('禁用成功');
|
|
|
- this.reload();
|
|
|
+ // this.reload();
|
|
|
+ this.$refs.table.reload();
|
|
|
})
|
|
|
.catch((e) => {
|
|
|
this.$message.error(e.message);
|