ming преди 1 година
родител
ревизия
2def694ac3
променени са 1 файла, в които са добавени 10 реда и са изтрити 5 реда
  1. 10 5
      assets/js/commonVue.js

+ 10 - 5
assets/js/commonVue.js

@@ -160,6 +160,14 @@ const App = {
 
       for (let i = 0; i < _this.columnList.length; i++) {
 
+        // 获取反馈弹框类型数据
+        if ( _this.columnList[i].categoryStyle == '2'&& _this.columnList[i].sname == '') {
+          _this.dialogDataArray = (_this.columnList[i].children)
+          console.log( _this.dialogDataArray)
+          _this.ruleForm.platName = _this.dialogDataArray[0].categoryName;
+        }
+        
+
         //栏目处理  
 
         //进入首页
@@ -210,6 +218,7 @@ const App = {
               _this.getArticalData(_this.requestParams)
               _this.columnImage = _this.columnList[i].imagePath;
             }
+            
           }
 
           _this.modelType = _this.columnList[i].modelType;
@@ -269,11 +278,7 @@ const App = {
 
 
 
-        // 获取反馈弹框类型数据
-        if (_this.columnList[i].categoryStyle == '2') {
-          _this.dialogDataArray = (_this.columnList[i].children)
-          _this.ruleForm.platName = _this.dialogDataArray[0].categoryName;
-        }
+        
       }
     },