소스 검색

添加商品选择分类问题修复

macro 5 년 전
부모
커밋
dfaec3b364
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/views/pms/product/components/ProductInfoDetail.vue

+ 1 - 1
src/views/pms/product/components/ProductInfoDetail.vue

@@ -159,7 +159,7 @@
       getCateNameById(id){
         let name=null;
         for(let i=0;i<this.productCateOptions.length;i++){
-          for(let j=0;i<this.productCateOptions[i].children.length;j++){
+          for(let j=0;j<this.productCateOptions[i].children.length;j++){
             if(this.productCateOptions[i].children[j].value===id){
               name=this.productCateOptions[i].children[j].label;
               return name;