feat: change e2e ci (#416)

Signed-off-by: zhaoxinxin <1186037180@qq.com>
This commit is contained in:
Zhaoxinxin 2024-12-06 13:48:53 +08:00 committed by GitHub
parent b34c2da5ae
commit af05f56a47
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 21 additions and 30 deletions

View File

@ -1,7 +1,7 @@
import { Box, Grid, MobileStepper, ThemeProvider, createTheme } from '@mui/material';
import { useState } from 'react';
import { autoPlay } from 'react-swipeable-views-utils';
import SwipeableViews from 'react-swipeable-views';
import { autoPlay } from 'react-swipeable-views-utils';
const AutoPlaySwipeableViews = autoPlay(SwipeableViews);
@ -68,22 +68,20 @@ export default function Rotation() {
);
})}
</AutoPlaySwipeableViews>
{
<MobileStepper
sx={{
width: '50%',
height: '6%',
display: 'flex',
alignItems: 'flex-start',
justifyContent: 'center',
backgroundColor: '#f6f7f9',
}}
backButton={undefined}
nextButton={undefined}
activeStep={imageIndex}
steps={imageList?.length}
/>
}
<MobileStepper
sx={{
width: '50%',
height: '6%',
display: 'flex',
alignItems: 'flex-start',
justifyContent: 'center',
backgroundColor: '#f6f7f9',
}}
backButton={undefined}
nextButton={undefined}
activeStep={imageIndex}
steps={imageList?.length}
/>
</Grid>
</ThemeProvider>
);

View File

@ -1,15 +1,11 @@
{
"compilerOptions": {
"target": "es5",
"lib": [
"dom",
"dom.iterable",
"esnext"
],
"types": [
"cypress",
"node"
],
"lib": ["dom", "dom.iterable", "esnext"],
"types": ["cypress", "node"],
"paths": {
"react": ["./node_modules/@types/react"]
},
"allowJs": true,
"skipLibCheck": true,
"esModuleInterop": true,
@ -24,8 +20,5 @@
"noEmit": true,
"jsx": "react-jsx"
},
"include": [
"src",
"**/*.ts"
]
"include": ["src", "**/*.ts"]
}