@@ -40,6 +40,9 @@ export const constantRoutes = [
{
path: '/template/t1/:id(\\d+)',
component: (resolve) => require(['@/views/template/t1'], resolve),
+ meta:{
+ title: '个人页'
+ },
hidden: true
},
@@ -411,7 +411,8 @@ export default {
const pid = this.form.id;
const tid = this.form.templateId;
const route = this.templateList.find(item => item.id === tid).route;
- window.open(window.location.origin + route+'/' + pid);
+ var win = window.open(window.location.origin + route+'/' + pid);
+ win.document.title='个人页 - '+this.form.stakeholder
}
};