1
This commit is contained in:
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+2
-2
@@ -28,8 +28,8 @@
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
<script type="module" crossorigin src="/assets/index-DqXiP0qO.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-Dpio-rCr.css">
|
||||
<script type="module" crossorigin src="/assets/index-B_unK_dD.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-DgpxHlJ1.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="root"></div>
|
||||
|
||||
@@ -206,8 +206,9 @@
|
||||
}
|
||||
|
||||
.login-copyright {
|
||||
color: rgba(255,255,255,0.7);
|
||||
font-size: 12px;
|
||||
color: #666;
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.5px;
|
||||
}
|
||||
|
||||
|
||||
@@ -259,7 +259,15 @@ const LoginPage: React.FC = () => {
|
||||
};
|
||||
|
||||
const openPdf = (url: string) => {
|
||||
if (url) window.open(`${API_BASE.replace(/\/api$/, '')}${url}`, '_blank');
|
||||
if (!url) {
|
||||
message.warning('暂未上传协议文件');
|
||||
return;
|
||||
}
|
||||
if (url.startsWith('http://') || url.startsWith('https://')) {
|
||||
window.open(url, '_blank');
|
||||
} else {
|
||||
window.open(`${API_BASE.replace(/\/api$/, '')}${url}`, '_blank');
|
||||
}
|
||||
};
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user