Commit eb603de4 by zhanghaozhe

视频安全问题

parent 2057bf98
...@@ -130,7 +130,7 @@ ...@@ -130,7 +130,7 @@
} }
}, },
"lint-staged": { "lint-staged": {
"*.(js|css)": ["prettier --write", "git add ."] "*.(js|css|ts[x]?)": ["prettier --write", "git add ."]
}, },
"eslintConfig": { "eslintConfig": {
"extends": "react-app", "extends": "react-app",
......
...@@ -22,6 +22,7 @@ const TSTest: React.FC = () => { ...@@ -22,6 +22,7 @@ const TSTest: React.FC = () => {
function C(a=2, b=3,c=4,d=5,e=6) { function C(a=2, b=3,c=4,d=5,e=6) {
return d return d
} }
export default withRouter(TSTest) export default withRouter(TSTest)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment