Bladeren bron

Merge branch 'dev' of http://git.ycjcjy.com/zhiyuxing/estateagents-admin-manager into dev

魏超 5 jaren geleden
bovenliggende
commit
ed4202c389

+ 2
- 2
src/pages/carouselFigure/editAdvertising.jsx Bestand weergeven

@@ -258,12 +258,12 @@ import SelectH5 from './SelectH5';
258 258
 
259 259
     const handleSubmit = val => {
260 260
       val.showType = 'screen'
261
-      if(!val.isHaveActive&&val.targetId) {
261
+      if(!isHaveActive&&val.targetId) {
262 262
           if(!val.contentType){
263 263
             val.contentType='h5'
264 264
           }
265 265
       }
266
-      if(!val.isHaveActive&&!val.targetId){
266
+      if(!isHaveActive&&!val.targetId){
267 267
         val.contentType=''
268 268
       }
269 269
       if(contentId){

+ 3
- 2
src/pages/carouselFigure/editCarousel.jsx Bestand weergeven

@@ -290,13 +290,14 @@ const { MonthPicker, RangePicker, WeekPicker } = DatePicker;
290 290
       ]
291 291
 
292 292
       const handleSubmit = val => {
293
+        console.log(val,"232323")
293 294
         val.showType = 'banner'
294
-        if(!val.isHaveActive&&val.targetId) {
295
+        if(!isHaveActive&&val.targetId) {
295 296
           if(!val.contentType){
296 297
             val.contentType='h5'
297 298
           }
298 299
         }
299
-        if(!val.isHaveActive&&!val.targetId){
300
+        if(!isHaveActive&&!val.targetId){
300 301
           val.contentType=''
301 302
         }
302 303
         if (contentId) {

+ 4
- 2
src/pages/carouselFigure/propaganda.jsx Bestand weergeven

@@ -51,6 +51,7 @@ import SelectH5 from './SelectH5';
51 51
   }
52 52
 
53 53
   const setExtraData1 = (data) => {
54
+    console.log(data,"datadatadata")
54 55
     if(data.contentType=='h5'||data.contentType==''||data.contentType=='nothing'){
55 56
        isHaveActive=false
56 57
     }else{
@@ -257,13 +258,14 @@ import SelectH5 from './SelectH5';
257 258
     ]
258 259
 
259 260
     const handleSubmit = val => {
261
+      console.log(val,"valvalval")
260 262
       val.showType = 'propaganda'
261
-      if(!val.isHaveActive&&val.targetId) {
263
+      if(!isHaveActive&&val.targetId) {
262 264
           if(!val.contentType){
263 265
             val.contentType='h5'
264 266
           }
265 267
       }
266
-      if(!val.isHaveActive&&!val.targetId){
268
+      if(!isHaveActive&&!val.targetId){
267 269
         val.contentType=''
268 270
       }
269 271
       if(contentId){