htc 3 dienas atpakaļ
vecāks
revīzija
79af70d1bd
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1 0
      src/views/modules/activity/add.vue

+ 1 - 0
src/views/modules/activity/add.vue

@@ -345,6 +345,7 @@ export default {
         this.moreForm.recruitmentFlag = +this.moreForm.recruitmentMax === 0 ? 2 : 1
         this.moreForm.userLevelFlag = +this.moreForm.userLevel === 0 ? 0 : 1
         this.moreForm.userAgeFlag = +this.moreForm.userAgeMax === 0 ? 2 : 1
+        this.moreForm.state = !!res.data.state
       })
     },
     updateObjectFromSource (target, source) {