@@ -45,7 +45,13 @@ export default {
});
},
t_title(e){
- this.t_name = e;
+
+ this.isRouterAlive = false;
+ this.$nextTick(function () {
+ this.isRouterAlive = true;
+ this.t_name = e;
+ console.log(this.t_name)
+ });
}
@@ -90,7 +90,7 @@ export default {
new_route[key] = route[key];
new_route.t_name = this.t_name;
-
+ console.log(new_route)
if (new_route.name == this.blankRouteName) {
return;
@@ -381,7 +381,7 @@ export const constantRoutes = [
component: () => import('@/views/outpatient/control/detail'),
meta: {
title: '门诊病历详情',
- keepAlive: 1,
+ keepAlive: 0,
canMultipleOpen: true
hidden: true,