Răsfoiți Sursa

调用接口

bding 1 an în urmă
părinte
comite
c06e8a6c79

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

@@ -158,8 +158,8 @@ import {apiApplyPermission,apiUserInfo,apiSetCollect,apiCancelCollect} from '@/a
 import {Popup,Image as VanImage,PullRefresh,Col, Row,Dialog,Toast,Swipe, SwipeItem} from 'vant'
 import AudioBox from './components/AudioBox.vue'
 import SharePoster from '../components/SharePoster.vue'
-import _ from 'lodash';
 import LeaveMessage from '../components/leaveMessage/index.vue'
+import _ from 'lodash';
 import collectIcon from '@/assets/hzyb/collect-icon.png'
 import collectIcons from '@/assets/hzyb/collect-icon-s.png'
 import reportCancel from './components/reportCancel.vue'
@@ -246,6 +246,7 @@ export default {
     this.chapterId=this.$route.query.chapterId
     this.fromPage=this.$route.query.fromPage||''
     this.getDetail()
+    this.getBannerList()
   },
   mounted(){
         $(document).on('click', '.rich-content img',function(event) {

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

@@ -268,7 +268,7 @@ export default {
         this.fromPage = this.$route.query.fromPage || ''
         this.getDetail()
         this.getUserInfo()
-
+        this.getBannerList()
     },
     mounted(){
         $(document).on('click', '.rich-content img',function(event) {