We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
使用路由对象的resolve方法解析路由,可以得到location、router、href等目标路由的信息。得到href就可以使用window.open开新窗口了。
const {href} = this.$router.resolve({ name: "statistics-explain", params: { classID: id, examSubjectID: this.planClassData.examSubjectID, studentStatus: 0 } }); window.open(href, '_blank');
The text was updated successfully, but these errors were encountered:
No branches or pull requests
使用路由对象的resolve方法解析路由,可以得到location、router、href等目标路由的信息。得到href就可以使用window.open开新窗口了。
The text was updated successfully, but these errors were encountered: