修复:分享视频列表没有页面标题
This commit is contained in:
parent
1c9426f172
commit
43d9b59def
|
|
@ -6900,6 +6900,7 @@ const routes = [
|
|||
component: VideoList,
|
||||
name: "VideoList",
|
||||
meta: {
|
||||
title: "视频分享",
|
||||
foot: false
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
<template>
|
||||
<div id="video-list">
|
||||
<c-title :hide="false" :text="'视频分享'"></c-title>
|
||||
<div class="banner" v-if="is_rotation == 1">
|
||||
<van-swipe :autoplay="3000">
|
||||
<van-swipe-item v-for="(bannerItem, i) in bannerList" :key="i">
|
||||
|
|
|
|||
|
|
@ -153,7 +153,8 @@ export default {
|
|||
$http
|
||||
.post("plugin.video-share.frontend.video.getList", { page: this.page, search: { category_id: this.category_id } }, "load")
|
||||
.then(response => {
|
||||
let shopName = this.$store.state.temp.mailInfo.name;
|
||||
let shopName = this.$store.state.temp.mailInfo.name || '视频分享';
|
||||
console.log("设置title",shopName);
|
||||
this.fun.setWXTitle(shopName);
|
||||
if (response.result === 1) {
|
||||
this.total_page = response.data.list.last_page;
|
||||
|
|
|
|||
Loading…
Reference in New Issue