hbchen пре 1 година
родитељ
комит
dcd72977e5
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/views/Home.vue

+ 1 - 1
src/views/Home.vue

@@ -679,7 +679,7 @@ export default {
       }
       homeInterface.getQuestionnaireDetail().then(res=>{
         // console.log(res);
-        if(res.Ret == 200){
+        if(res.Ret == 200 && res.Data){
           this.showQuestionDia=!!res.Data.IsPopup && (!!res.Data.IsShow)
           this.isQuestionShow = !!res.Data.IsShow
           this.questionList = res.Data.Question.List || []