This commit is contained in:
parent
2a3fbe2a1c
commit
26d9454aa0
|
|
@ -175,7 +175,7 @@
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
$http.delete('brands/' + id).then((res) => {
|
$http.delete('brands/' + id).then((res) => {
|
||||||
this.$message.success(res.message);
|
this.$message.success(res.message);
|
||||||
self.brands.splice(index, 1)
|
self.brands.data.splice(index, 1)
|
||||||
})
|
})
|
||||||
}).catch(()=>{})
|
}).catch(()=>{})
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue