...
|
...
|
@@ -113,8 +113,10 @@ export default { |
|
|
beforeRouteEnter(to, from, next) {
|
|
|
next(vm => {
|
|
|
// 通过 `vm` 访问组件实例
|
|
|
vm.query = from.query;
|
|
|
vm.pageName = from.name;
|
|
|
if (from.name !== "addressEdit") {
|
|
|
vm.query = from.query;
|
|
|
vm.pageName = from.name;
|
|
|
}
|
|
|
});
|
|
|
}
|
|
|
};
|
...
|
...
|
|