storage url o'zgartirildi

This commit is contained in:
2026-04-28 18:06:13 +05:00
parent a11b9c9100
commit b9856f4bf8
3 changed files with 63 additions and 14 deletions

View File

@@ -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;
},