feat: change e2e ci (#416)
Signed-off-by: zhaoxinxin <1186037180@qq.com>
This commit is contained in:
parent
b34c2da5ae
commit
af05f56a47
|
@ -1,7 +1,7 @@
|
||||||
import { Box, Grid, MobileStepper, ThemeProvider, createTheme } from '@mui/material';
|
import { Box, Grid, MobileStepper, ThemeProvider, createTheme } from '@mui/material';
|
||||||
import { useState } from 'react';
|
import { useState } from 'react';
|
||||||
import { autoPlay } from 'react-swipeable-views-utils';
|
|
||||||
import SwipeableViews from 'react-swipeable-views';
|
import SwipeableViews from 'react-swipeable-views';
|
||||||
|
import { autoPlay } from 'react-swipeable-views-utils';
|
||||||
|
|
||||||
const AutoPlaySwipeableViews = autoPlay(SwipeableViews);
|
const AutoPlaySwipeableViews = autoPlay(SwipeableViews);
|
||||||
|
|
||||||
|
@ -68,7 +68,6 @@ export default function Rotation() {
|
||||||
);
|
);
|
||||||
})}
|
})}
|
||||||
</AutoPlaySwipeableViews>
|
</AutoPlaySwipeableViews>
|
||||||
{
|
|
||||||
<MobileStepper
|
<MobileStepper
|
||||||
sx={{
|
sx={{
|
||||||
width: '50%',
|
width: '50%',
|
||||||
|
@ -83,7 +82,6 @@ export default function Rotation() {
|
||||||
activeStep={imageIndex}
|
activeStep={imageIndex}
|
||||||
steps={imageList?.length}
|
steps={imageList?.length}
|
||||||
/>
|
/>
|
||||||
}
|
|
||||||
</Grid>
|
</Grid>
|
||||||
</ThemeProvider>
|
</ThemeProvider>
|
||||||
);
|
);
|
||||||
|
|
|
@ -1,15 +1,11 @@
|
||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"target": "es5",
|
"target": "es5",
|
||||||
"lib": [
|
"lib": ["dom", "dom.iterable", "esnext"],
|
||||||
"dom",
|
"types": ["cypress", "node"],
|
||||||
"dom.iterable",
|
"paths": {
|
||||||
"esnext"
|
"react": ["./node_modules/@types/react"]
|
||||||
],
|
},
|
||||||
"types": [
|
|
||||||
"cypress",
|
|
||||||
"node"
|
|
||||||
],
|
|
||||||
"allowJs": true,
|
"allowJs": true,
|
||||||
"skipLibCheck": true,
|
"skipLibCheck": true,
|
||||||
"esModuleInterop": true,
|
"esModuleInterop": true,
|
||||||
|
@ -24,8 +20,5 @@
|
||||||
"noEmit": true,
|
"noEmit": true,
|
||||||
"jsx": "react-jsx"
|
"jsx": "react-jsx"
|
||||||
},
|
},
|
||||||
"include": [
|
"include": ["src", "**/*.ts"]
|
||||||
"src",
|
|
||||||
"**/*.ts"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue