Explorar el Código

报告详情取消下拉刷新

Karsa hace 3 años
padre
commit
ca10cd5eee
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  1. 1 1
      src/views/hzyb/report/ChapterDetail.vue
  2. 1 1
      src/views/hzyb/report/Detail.vue

+ 1 - 1
src/views/hzyb/report/ChapterDetail.vue

@@ -1,5 +1,5 @@
 <template>
-<van-pull-refresh v-model="loading" @refresh="onRefresh" style="min-height:100vh">
+<van-pull-refresh v-model="loading" disabled style="min-height:100vh">
   <div class="chapter-detail-page" v-if="info" :style="{paddingBottom:$store.state.hzyb.audioData.url&&'80px'}">
     <div :class="['main-box',!info.auth_ok&&'main-box-noauth']">
       <div class="title">【第{{info.report_chapter_item.stage}}期 | {{info.report_chapter_item.classify_name_first}}  | {{info.report_chapter_item.type_name}}】{{info.report_chapter_item.title}}</div>

+ 1 - 1
src/views/hzyb/report/Detail.vue

@@ -1,5 +1,5 @@
 <template>
-<van-pull-refresh v-model="loading" @refresh="onRefresh" style="min-height:100vh">
+<van-pull-refresh v-model="loading" disabled style="min-height:100vh">
     <div class="report-detail-page" v-if="info" :style="{paddingBottom:$store.state.hzyb.audioData.url&&'80px'}">
         <!-- 晨报、周报章节 -->
         <div class="chapter-list-wrap" v-if="['晨报','周报'].includes(info.report_info.classify_name_first)">