透明登录框

This commit is contained in:
mll
2026-03-10 22:04:36 +08:00
parent b34b599513
commit ca4ebdfb7c
2 changed files with 5 additions and 3 deletions

View File

@@ -106,7 +106,9 @@ const newClass = computed(() => {
<style lang="scss" scoped> <style lang="scss" scoped>
$prefix-cls: #{$namespace}-login; $prefix-cls: #{$namespace}-login;
.bg-\#fff{
--un-bg-opacity: 0.3;
}
.#{$prefix-cls} { .#{$prefix-cls} {
overflow: auto; overflow: auto;
} }

View File

@@ -206,7 +206,7 @@ const handleLogin = async (params) => {
authUtil.removeLoginForm() authUtil.removeLoginForm()
} }
authUtil.setToken(res) authUtil.setToken(res)
debugger
if (!redirect.value) { if (!redirect.value) {
redirect.value = '/' redirect.value = '/'
} }
@@ -217,7 +217,7 @@ const handleLogin = async (params) => {
const queryParams = new URLSearchParams(window.location.search); const queryParams = new URLSearchParams(window.location.search);
const ticketUrl = queryParams.get('url'); // 获取查询参数值,例如 ?paramName=value 中的 value const ticketUrl = queryParams.get('url'); // 获取查询参数值,例如 ?paramName=value 中的 value
const accessToken =authUtil.getAccessToken(); const accessToken =authUtil.getAccessToken();
debugger
console.log(accessToken); console.log(accessToken);
if(ticketUrl!=null){ if(ticketUrl!=null){