Administrator пре 4 година
родитељ
комит
1c1632c62a
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      src/main/resources/static/js/supplier-center/shop/release.js

+ 2 - 2
src/main/resources/static/js/supplier-center/shop/release.js

@@ -682,7 +682,7 @@ var releaseContainer = new Vue({
                 },2000);
                 return;
             }
-            if(_this.classificationTwoList.length>0){
+            if(_this.classificationTwoList!=''&& _this.classificationTwoList!=null){
                 if(_this.releaseParams.smallTypeID == ''){
                     _this.vShow_TinyTypeID = true;
                     _this.fromMessage = '请选择二级分类';
@@ -693,7 +693,7 @@ var releaseContainer = new Vue({
                       return;
                 }
             }
-            if(_this.classificationThreeList.length>0){
+            if(_this.classificationThreeList!='' && _this.classificationThreeList!=null){
                 if(_this.releaseParams.tinyTypeID == ''){
                     _this.vShow_TinyTypeID = true;
                     _this.fromMessage = '请选择三级分类';