Skip to content
New issue

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

fix: face auth bind/unbind error when open single page #4536

Merged
merged 1 commit into from
Dec 19, 2024

Conversation

fit2bot
Copy link
Contributor

@fit2bot fit2bot commented Dec 19, 2024

fix: face auth bind/unbind error when open single page

@fit2bot fit2bot requested a review from a team December 19, 2024 07:33
@@ -92,7 +92,7 @@ export default {
callbacks: {
click: () => {
const next_url = this.$store.state.users.profile.is_face_code_set ? '/core/auth/profile/face/disable/' : '/core/auth/profile/face/enable/'
window.open(next_url, '_self')
window.open(next_url, '_blank')
}
}
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the provided code, there are no errors or discrepancies that I can see on these lines. The only adjustment could be minor formatting changes to ensure uniform coding style across similar sections of your project if you're working with multiple files.

However, since the question specifically asks for an English answer, it seems that I misunderstood your request. In actuality, this is an example showing how to use JavaScript to open a new tab using window.open() function.

The purpose and format of responses should remain consistent unless further clarifications about specific programming languages and frameworks are needed. Please let me know if anything else needs attention!

@BaiJiangJie BaiJiangJie merged commit 6fbef03 into dev Dec 19, 2024
3 of 4 checks passed
@BaiJiangJie BaiJiangJie deleted the pr@dev@fix_facebind branch December 19, 2024 07:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants