01262146
This commit is contained in:
parent
94cacc41df
commit
95189731b4
|
@ -15,7 +15,6 @@ import { SessionInfo, SessionService } from './session.service';
|
|||
import { tokenConfig } from './config';
|
||||
import { z } from 'zod';
|
||||
import { FileAuthResult, FileRequest, FileValidationErrorType } from './types';
|
||||
import { TusService } from '@server/upload/tus.service';
|
||||
import { extractFileIdFromNginxUrl } from '@server/upload/utils';
|
||||
@Injectable()
|
||||
export class AuthService {
|
||||
|
|
|
@ -33,7 +33,6 @@ export const Header = memo(function Header() {
|
|||
<Button size="large" onClick={() => {
|
||||
navigate("/auth")
|
||||
}} type="primary" icon={<UserOutlined></UserOutlined>}>
|
||||
|
||||
登录
|
||||
</Button>
|
||||
) : (
|
||||
|
|
|
@ -47,6 +47,9 @@ export default function PostResources({ post }: { post: PostDto }) {
|
|||
<div className="relative aspect-square rounded-lg overflow-hidden shadow-md hover:shadow-lg transition-shadow duration-300 bg-gray-100">
|
||||
<div className="w-full h-full">
|
||||
<Image
|
||||
onError={(e) => {
|
||||
console.log(e)
|
||||
}}
|
||||
src={resource.url}
|
||||
alt={resource.title}
|
||||
preview={{
|
||||
|
|
Loading…
Reference in New Issue