storage url o'zgartirildi
This commit is contained in:
@@ -1048,13 +1048,15 @@ export default {
|
||||
|
||||
"category.two": function (newVal) {
|
||||
if (this.watch_count.two > 1) {
|
||||
if (newVal.parents.length > 0) {
|
||||
if (!newVal || !newVal.id) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (newVal.parents && newVal.parents.length > 0) {
|
||||
this.DetectCategoryTwo();
|
||||
} else {
|
||||
if (newVal.id) {
|
||||
this.products.category_id = newVal.id;
|
||||
this.getCharacteristics(newVal.id);
|
||||
}
|
||||
this.products.category_id = newVal.id;
|
||||
this.getCharacteristics(newVal.id);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1063,6 +1065,10 @@ export default {
|
||||
|
||||
"category.three": function (newVal) {
|
||||
if (this.watch_count.three > 1) {
|
||||
if (!newVal || !newVal.id) {
|
||||
return;
|
||||
}
|
||||
|
||||
this.DetectCategoryThree();
|
||||
}
|
||||
|
||||
@@ -1206,6 +1212,10 @@ export default {
|
||||
},
|
||||
|
||||
DetectCategoryThree() {
|
||||
if (!this.category.three || !this.category.three.id) {
|
||||
return;
|
||||
}
|
||||
|
||||
this.getCharacteristics(this.category.three.id);
|
||||
this.products.category_id = this.category.three.id;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user