Просмотр исходного кода

Merge branch 'feature_20260513_新建专业五金店' into release

zhujindu 1 день назад
Родитель
Сommit
2d891e3a9f
1 измененных файлов с 3 добавлено и 1 удалено
  1. 3 1
      src/views/storeManagement/storeEdit.vue

+ 3 - 1
src/views/storeManagement/storeEdit.vue

@@ -1898,7 +1898,9 @@ export default {
             this.$toast('主营竞品品牌未填写');
             return;
           }
-          this.activatedStoreCompetitor = JSON.parse(JSON.stringify(this.storeCompetitorList));
+          this.activatedStoreCompetitor = JSON.parse(
+            JSON.stringify(this.fromValue.storeCompetitorList),
+          );
         } else {
           if (!fromValue.storeCompetitorList.length && !fromValue.otherCompetitor) {
             this.$toast('主营竞品品牌未填写');