fixed: pnpm build报错

This commit is contained in:
xxx 2024-02-20 14:48:56 +08:00
parent c94c5106e5
commit 97c5540d96
2 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "frontend", "name": "playedu-pc-interface",
"private": true, "private": false,
"version": "0.0.0", "version": "0.0.0",
"type": "module", "type": "module",
"scripts": { "scripts": {
@ -29,8 +29,8 @@
"xlsx": "^0.18.5" "xlsx": "^0.18.5"
}, },
"devDependencies": { "devDependencies": {
"@types/react": "^18.0.28", "@types/react": "^18.2.0",
"@types/react-dom": "^18.0.11", "@types/react-dom": "^18.2.0",
"@vitejs/plugin-react-swc": "^3.0.0", "@vitejs/plugin-react-swc": "^3.0.0",
"less": "^4.1.3", "less": "^4.1.3",
"rollup-plugin-gzip": "^3.1.0", "rollup-plugin-gzip": "^3.1.0",

View File

@ -14,7 +14,7 @@ export const BackBartment = (props: PropInterface) => {
return ( return (
<div className={styles["back-bar-box"]}> <div className={styles["back-bar-box"]}>
<Button <Button
style={{paddingLeft:0}} style={{ paddingLeft: 0 }}
icon={<LeftOutlined />} icon={<LeftOutlined />}
type="link" type="link"
danger danger