Commit f505c0d3 by tangjiale

更新代码

parent 30eb1a57
...@@ -43,10 +43,10 @@ module.exports = { ...@@ -43,10 +43,10 @@ module.exports = {
extendRoutes (routes) { extendRoutes (routes) {
return [ return [
...routes, ...routes,
{ // {
path: '/csScreen/:type(\\d+)/', // path: '/csScreen/:type(\\d+)/',
component: '~/ssr/csScreen/type.js' // component: '~/ssr/csScreen/type.js'
}, // },
]; ];
} }
}, },
......
/*
* @Author: tangjiale
* @eMail: 932055106@qq.com
* @Date: 2022-09-28 15:35:02
* @LastEditors: tangjiale
* @LastEditTime: 2022-09-28 15:47:42
*/
import container from '~/pages/screen'
container.head = function() {
const titleList = ['','','天心区','岳麓区','芙蓉区','雨花区','开福区','浏阳市']
return {
title: `${titleList[this.type]}智慧体育监测平台`,
meta: [
{
hid: 'description',
name: 'description',
content: `${titleList[this.type]}智慧体育监测平台`,
},
{
name: 'keywords',
content: `${titleList[this.type]}智慧体育监测平台`,
}
],
link: [],
};
};
export default container;
import container from '../pages/test'; /*
* @Author: 932055106@qq.com
* @Date: 2022-04-06 10:40:31
* @LastEditTime: 2023-03-17 16:51:41
*/
import container from '../pages/index';
container.head = function() { container.head = function() {
return { return {
title: `${this.ip[0]} - 小本体育`, title: `${this.ip[0].schName} - 小本体育`,
meta: [ meta: [
{ {
hid: 'description', hid: 'description',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment