This commit is contained in:
Mr Swift
2024-03-06 09:40:43 +03:30
parent 59f9ed3248
commit f575aabe12
2 changed files with 40 additions and 2 deletions
+1 -1
View File
@@ -113,7 +113,7 @@
this.$axios
.delete(`/api/admin/brand/${id}`)
.then(response => {
this.brands = this.brans.filter(item => item._id !== id)
this.brands = this.brands.filter(item => item._id !== id)
this.$message({
type: 'success',
message: 'برند حذف شد'