Administrator hace 4 años
padre
commit
1c1632c62a
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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 = '请选择三级分类';