zhongshujie
3 天以前 e661c793b5bf790a86f7817b0557bc728220bfb1
src/App.vue
@@ -29,6 +29,7 @@
    <policiesAndRegulations v-if="activeBook.name == 'policiesAndRegulations'"></policiesAndRegulations> 
    <OralAndBroadcasting v-if="activeBook.name == 'OralAndBroadcasting'" ></OralAndBroadcasting>
    <practicalCareChildrenManual v-if="activeBook.name == 'practicalCareChildrenManual'"></practicalCareChildrenManual>
    <childIllnessPreventionCare v-if="activeBook.name == 'childIllnessPreventionCare'"></childIllnessPreventionCare>
    <artInitiationForAges0to3 v-if="activeBook.name == 'artInitiationForAges0to3'"></artInitiationForAges0to3>
    <toddlerSportsSafetyProtection v-if="activeBook.name == 'toddlerSportsSafetyProtection'"></toddlerSportsSafetyProtection>
  </div>
@@ -83,6 +84,7 @@
    policiesAndRegulations: ()=> import("./books/policiesAndRegulations/view/index.vue"),
    OralAndBroadcasting:()=> import("./books/OralAndBroadcasting/view/index.vue"),
    practicalCareChildrenManual: ()=> import("./books/practicalCareChildrenManual/view/index.vue"),
    childIllnessPreventionCare: ()=> import("./books/childIllnessPreventionCare/view/index.vue"),
    artInitiationForAges0to3: ()=> import("./books/artInitiationForAges0to3/view/index.vue"),
    toddlerSportsSafetyProtection : ()=> import("./books/toddlerSportsSafetyProtection/view/index.vue"),
  },
@@ -136,6 +138,7 @@
      // preschoolBasicKnowledge //学前教育基础知识
      // policiesAndRegulations  //政策法律与法规|旅游社
      // practicalCareChildrenManual // 婴幼儿照护实录
      //childIllnessPreventionCare //婴幼儿常见疾病预防与护理
      // artInitiationForAges0to3  // 0-3岁婴幼儿艺术启蒙
      // toddlerSportsSafetyProtection // 婴幼儿运动安全与保护
      this.activeBook = await this.config.getBookConfig(
@@ -144,7 +147,6 @@
          ? process.env.VUE_APP_BOOK_ID
          : "aviationEtiquette")
      );
      // this.activeBook = await this.config.getBookConfig(
      //   'http://182.92.203.7:3007/books/resource/'+
      //   (process.env.VUE_APP_ENV == "product"