pushuo 2022-08-12 15:29:39 +08:00
parent 652c703523
commit 76cde0a92a
1 changed files with 1 additions and 1 deletions

View File

@ -157,7 +157,7 @@
this.$message.success(res.message);
if (this.dialog.type == 'add') {
this.brands.data.push(res.data)
this.brands.data.unshift(res.data)
} else {
this.brands.data[this.dialog.index] = res.data
}