修复:分享视频列表没有页面标题

This commit is contained in:
wuhui_zzw 2023-09-27 18:28:02 +08:00
parent 1c9426f172
commit 43d9b59def
3 changed files with 4 additions and 1 deletions

View File

@ -6900,6 +6900,7 @@ const routes = [
component: VideoList,
name: "VideoList",
meta: {
title: "视频分享",
foot: false
}
},

View File

@ -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">

View File

@ -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;