Skip to content

Commit

Permalink
fix:修复保存系统配置时可能跳转到404的问题 close #I8VY4C
Browse files Browse the repository at this point in the history
  • Loading branch information
build-admin committed Jan 14, 2024
1 parent 04ef24a commit 8f12a59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/views/backend/routine/config/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ const onSubmit = () => {
}
}
if (formData.backend_entrance != adminBaseRoutePath) {
if (formData.backend_entrance && formData.backend_entrance != adminBaseRoutePath) {
window.open(window.location.href.replace(adminBaseRoutePath, formData.backend_entrance))
window.close()
}
Expand Down

0 comments on commit 8f12a59

Please sign in to comment.