fixed: 首次进入没有名称.
This commit is contained in:
@@ -9,9 +9,7 @@ let latestRoute: RouteLocationNormalized;
|
||||
|
||||
export function setRouteEmitter(to: RouteLocationNormalized) {
|
||||
emitter.emit(key, to);
|
||||
// TODO 这里寻找
|
||||
latestRoute = to;
|
||||
console.log('change', to);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user