mirror of
https://github.com/labring/FastGPT.git
synced 2025-10-17 00:14:51 +00:00
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:
@@ -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}
|
||||
|
Reference in New Issue
Block a user