4.8.10 test (#2573)

* feat: more debug response

* fix: debug edge status

* perf: doc

* fix: workflow edge check

* perf: i18n

* package.json

* perf: markdown mask
This commit is contained in:
Archer
2024-08-29 23:19:39 +08:00
committed by GitHub
parent 813eaacfd0
commit 6d00f73e91
22 changed files with 103 additions and 92 deletions

View File

@@ -5,14 +5,9 @@ import { Box, Image, ImageProps } from '@chakra-ui/react';
import { useSystem } from '../../../hooks/useSystem';
import Loading from '../MyLoading';
const MyPhotoView = ({
forbidImgPreview,
...props
}: ImageProps & { forbidImgPreview?: boolean }) => {
const MyPhotoView = ({ ...props }: ImageProps) => {
const { isPc } = useSystem();
return forbidImgPreview ? (
<Image {...props} />
) : (
return (
<PhotoProvider
maskOpacity={0.6}
bannerVisible={!isPc}