Selaa lähdekoodia

优化编辑功能

wuxw 6 vuotta sitten
vanhempi
commit
3b6987c4b5

+ 1 - 1
WebService/src/main/resources/components/activitiesPackage/editActivitiesView/editActivitiesView.js

@@ -32,7 +32,7 @@
             });
             });
 
 
              vc.on("editActivitiesView", "notifyUploadImage", function (_param) {
              vc.on("editActivitiesView", "notifyUploadImage", function (_param) {
-                 if(vc.notNull(_param) && _param.length >0){
+                 if(!vc.isEmpty(_param) && _param.length >0){
                      vc.component.editActivitiesViewInfo.headerImg = _param[0];
                      vc.component.editActivitiesViewInfo.headerImg = _param[0];
                  }else{
                  }else{
                      vc.component.editActivitiesViewInfo.headerImg = '';
                      vc.component.editActivitiesViewInfo.headerImg = '';