mirror of
https://github.com/PlayEdu/backend
synced 2025-07-28 05:19:42 +08:00
Compare commits
7 Commits
015dc667cb
...
b49c73f338
Author | SHA1 | Date | |
---|---|---|---|
|
b49c73f338 | ||
|
6ccf595984 | ||
|
7c0decf82a | ||
|
97c5540d96 | ||
|
c94c5106e5 | ||
|
5670e23d27 | ||
|
65ed275964 |
12
package.json
12
package.json
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "frontend",
|
||||
"private": true,
|
||||
"version": "0.0.0",
|
||||
"name": "playedu-admin-interface",
|
||||
"private": false,
|
||||
"version": "1.6.0",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
@ -14,6 +14,7 @@
|
||||
"ahooks": "^3.7.6",
|
||||
"antd": "^5.3.2",
|
||||
"axios": "^1.3.4",
|
||||
"dayjs": "^1.11.10",
|
||||
"echarts": "^5.4.2",
|
||||
"localforage": "^1.10.0",
|
||||
"match-sorter": "^6.3.1",
|
||||
@ -24,12 +25,11 @@
|
||||
"react-router-dom": "^6.9.0",
|
||||
"redux": "^4.2.1",
|
||||
"sort-by": "^1.2.0",
|
||||
"web-vitals": "^3.3.0",
|
||||
"xlsx": "^0.18.5"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/react": "^18.0.28",
|
||||
"@types/react-dom": "^18.0.11",
|
||||
"@types/react": "^18.2.0",
|
||||
"@types/react-dom": "^18.2.0",
|
||||
"@vitejs/plugin-react-swc": "^3.0.0",
|
||||
"less": "^4.1.3",
|
||||
"rollup-plugin-gzip": "^3.1.0",
|
||||
|
1
public/js/xg/hls.min.js
vendored
1
public/js/xg/hls.min.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -14,7 +14,7 @@ export const BackBartment = (props: PropInterface) => {
|
||||
return (
|
||||
<div className={styles["back-bar-box"]}>
|
||||
<Button
|
||||
style={{paddingLeft:0}}
|
||||
style={{ paddingLeft: 0 }}
|
||||
icon={<LeftOutlined />}
|
||||
type="link"
|
||||
danger
|
||||
|
@ -35,7 +35,7 @@ export const Footer: React.FC<PropInterface> = ({ type }) => {
|
||||
className="ml-5"
|
||||
style={{ color: "#D7D7D7", fontSize: 12, marginTop: -5 }}
|
||||
>
|
||||
Version 1.5
|
||||
Version 1.6
|
||||
</span>
|
||||
</Link>
|
||||
</Layout.Footer>
|
||||
|
@ -2,7 +2,6 @@ import ReactDOM from "react-dom/client";
|
||||
import "./assets/iconfont/iconfont.css";
|
||||
import "./index.less";
|
||||
import App from "./App";
|
||||
import reportWebVitals from "./reportWebVitals";
|
||||
import { BrowserRouter } from "react-router-dom";
|
||||
import { Provider } from "react-redux";
|
||||
import store from "./store";
|
||||
@ -25,8 +24,3 @@ ReactDOM.createRoot(document.getElementById("root") as HTMLElement).render(
|
||||
</ConfigProvider>
|
||||
</Provider>
|
||||
);
|
||||
|
||||
// If you want to start measuring performance in your app, pass a function
|
||||
// to log results (for example: reportWebVitals(console.log))
|
||||
// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
|
||||
reportWebVitals();
|
||||
|
@ -86,10 +86,10 @@ export const MemberCreate: React.FC<PropInterface> = ({
|
||||
if (loading) {
|
||||
return;
|
||||
}
|
||||
if (values.idCard !== "" && !ValidataCredentials(values.idCard)) {
|
||||
message.error("请输入正确的身份证号!");
|
||||
return;
|
||||
}
|
||||
// if (values.idCard !== "" && !ValidataCredentials(values.idCard)) {
|
||||
// message.error("请输入正确的身份证号!");
|
||||
// return;
|
||||
// }
|
||||
setLoading(true);
|
||||
user
|
||||
.storeUser(
|
||||
|
@ -108,10 +108,10 @@ export const MemberUpdate: React.FC<PropInterface> = ({
|
||||
if (loading) {
|
||||
return;
|
||||
}
|
||||
if (values.idCard !== "" && !ValidataCredentials(values.idCard)) {
|
||||
message.error("请输入正确的身份证号!");
|
||||
return;
|
||||
}
|
||||
// if (values.idCard !== "" && !ValidataCredentials(values.idCard)) {
|
||||
// message.error("请输入正确的身份证号!");
|
||||
// return;
|
||||
// }
|
||||
setLoading(true);
|
||||
user
|
||||
.updateUser(
|
||||
|
@ -1,15 +0,0 @@
|
||||
import { ReportHandler } from 'web-vitals';
|
||||
|
||||
const reportWebVitals = (onPerfEntry?: ReportHandler) => {
|
||||
if (onPerfEntry && onPerfEntry instanceof Function) {
|
||||
import('web-vitals').then(({ getCLS, getFID, getFCP, getLCP, getTTFB }) => {
|
||||
getCLS(onPerfEntry);
|
||||
getFID(onPerfEntry);
|
||||
getFCP(onPerfEntry);
|
||||
getLCP(onPerfEntry);
|
||||
getTTFB(onPerfEntry);
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
export default reportWebVitals;
|
Loading…
x
Reference in New Issue
Block a user