const { href } = this.$router.resolve({ path: "/index", query: { key: key } }); // iframe 控制父页面跳转 window.parent.window.location.href = href