代码拉取完成,页面将自动刷新
[{"e:\\Front_End\\新建文件夹\\test\\ReLearning\\react\\react_redux_login\\src\\index.js":"1","e:\\Front_End\\新建文件夹\\test\\ReLearning\\react\\react_redux_login\\src\\routes.js":"2","e:\\Front_End\\新建文件夹\\test\\ReLearning\\react\\react_redux_login\\src\\utils\\setAuthorizationToken.js":"3","e:\\Front_End\\新建文件夹\\test\\ReLearning\\react\\react_redux_login\\src\\reducers\\index.js":"4","e:\\Front_End\\新建文件夹\\test\\ReLearning\\react\\react_redux_login\\src\\actions\\authActions.js":"5","e:\\Front_End\\新建文件夹\\test\\ReLearning\\react\\react_redux_login\\src\\components\\NavigationBar.jsx":"6","e:\\Front_End\\新建文件夹\\test\\ReLearning\\react\\react_redux_login\\src\\components\\flashMessage\\FlashMessageList.jsx":"7","e:\\Front_End\\新建文件夹\\test\\ReLearning\\react\\react_redux_login\\src\\utils\\requireAuth.js":"8","e:\\Front_End\\新建文件夹\\test\\ReLearning\\react\\react_redux_login\\src\\reducers\\flash.js":"9","e:\\Front_End\\新建文件夹\\test\\ReLearning\\react\\react_redux_login\\src\\reducers\\auth.js":"10","e:\\Front_End\\新建文件夹\\test\\ReLearning\\react\\react_redux_login\\src\\components\\App.jsx":"11","e:\\Front_End\\新建文件夹\\test\\ReLearning\\react\\react_redux_login\\src\\components\\shop\\ShopPage.jsx":"12","e:\\Front_End\\新建文件夹\\test\\ReLearning\\react\\react_redux_login\\src\\components\\login\\LoginPage.jsx":"13","e:\\Front_End\\新建文件夹\\test\\ReLearning\\react\\react_redux_login\\src\\components\\signup\\SignupPage.jsx":"14","e:\\Front_End\\新建文件夹\\test\\ReLearning\\react\\react_redux_login\\src\\actions\\flashMessages.js":"15","e:\\Front_End\\新建文件夹\\test\\ReLearning\\react\\react_redux_login\\src\\components\\flashMessage\\FlashMessage.jsx":"16","e:\\Front_End\\新建文件夹\\test\\ReLearning\\react\\react_redux_login\\src\\constants\\index.js":"17","e:\\Front_End\\新建文件夹\\test\\ReLearning\\react\\react_redux_login\\src\\actions\\signupActions.js":"18","e:\\Front_End\\新建文件夹\\test\\ReLearning\\react\\react_redux_login\\src\\components\\signup\\SignupForm.jsx":"19","e:\\Front_End\\新建文件夹\\test\\ReLearning\\react\\react_redux_login\\src\\components\\login\\LoginForm.jsx":"20","e:\\Front_End\\新建文件夹\\test\\ReLearning\\react\\react_redux_login\\src\\utils\\validations\\login.js":"21"},{"size":1225,"mtime":1607772959916,"results":"22","hashOfConfig":"23"},{"size":578,"mtime":1607773832948,"results":"24","hashOfConfig":"23"},{"size":601,"mtime":1607770386779,"results":"25","hashOfConfig":"23"},{"size":216,"mtime":1607566100977,"results":"26","hashOfConfig":"23"},{"size":1045,"mtime":1607772359494,"results":"27","hashOfConfig":"23"},{"size":2416,"mtime":1607926954007,"results":"28","hashOfConfig":"23"},{"size":798,"mtime":1607568281558,"results":"29","hashOfConfig":"23"},{"size":1053,"mtime":1607774058932,"results":"30","hashOfConfig":"23"},{"size":640,"mtime":1607569016211,"results":"31","hashOfConfig":"23"},{"size":501,"mtime":1607771081160,"results":"32","hashOfConfig":"23"},{"size":208,"mtime":1607402605470,"results":"33","hashOfConfig":"23"},{"size":234,"mtime":1607773102063,"results":"34","hashOfConfig":"23"},{"size":961,"mtime":1607774074875,"results":"35","hashOfConfig":"23"},{"size":966,"mtime":1607658856036,"results":"36","hashOfConfig":"23"},{"size":312,"mtime":1607567984626,"results":"37","hashOfConfig":"23"},{"size":1195,"mtime":1607610808895,"results":"38","hashOfConfig":"23"},{"size":163,"mtime":1607770552622,"results":"39","hashOfConfig":"23"},{"size":302,"mtime":1607655482899,"results":"40","hashOfConfig":"23"},{"size":5258,"mtime":1607772653306,"results":"41","hashOfConfig":"23"},{"size":4094,"mtime":1607926470848,"results":"42","hashOfConfig":"23"},{"size":450,"mtime":1607768535697,"results":"43","hashOfConfig":"23"},{"filePath":"44","messages":"45","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"46"},"1gekbej",{"filePath":"47","messages":"48","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"46"},{"filePath":"49","messages":"50","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"46"},{"filePath":"51","messages":"52","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"46"},{"filePath":"53","messages":"54","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"46"},{"filePath":"55","messages":"56","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"57","messages":"58","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"46"},{"filePath":"59","messages":"60","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"61","usedDeprecatedRules":"46"},{"filePath":"62","messages":"63","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"46"},{"filePath":"64","messages":"65","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"46"},{"filePath":"66","messages":"67","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"46"},{"filePath":"68","messages":"69","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"46"},{"filePath":"70","messages":"71","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"46"},{"filePath":"72","messages":"73","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"46"},{"filePath":"74","messages":"75","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"46"},{"filePath":"76","messages":"77","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"46"},{"filePath":"78","messages":"79","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"46"},{"filePath":"80","messages":"81","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"46"},{"filePath":"82","messages":"83","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"46"},{"filePath":"84","messages":"85","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"86","messages":"87","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"46"},"e:\\Front_End\\新建文件夹\\test\\ReLearning\\react\\react_redux_login\\src\\index.js",[],["88","89"],"e:\\Front_End\\新建文件夹\\test\\ReLearning\\react\\react_redux_login\\src\\routes.js",[],"e:\\Front_End\\新建文件夹\\test\\ReLearning\\react\\react_redux_login\\src\\utils\\setAuthorizationToken.js",[],"e:\\Front_End\\新建文件夹\\test\\ReLearning\\react\\react_redux_login\\src\\reducers\\index.js",[],"e:\\Front_End\\新建文件夹\\test\\ReLearning\\react\\react_redux_login\\src\\actions\\authActions.js",[],"e:\\Front_End\\新建文件夹\\test\\ReLearning\\react\\react_redux_login\\src\\components\\NavigationBar.jsx",[],"e:\\Front_End\\新建文件夹\\test\\ReLearning\\react\\react_redux_login\\src\\components\\flashMessage\\FlashMessageList.jsx",[],"e:\\Front_End\\新建文件夹\\test\\ReLearning\\react\\react_redux_login\\src\\utils\\requireAuth.js",["90"],"import React, {Component} from 'react';\r\nimport {connect} from 'react-redux';\r\nimport {addFlashMessage} from '../actions/flashMessages';\r\n\r\nexport default function(ComposeComponent){\r\n class Authenticate extends Component {\r\n componentWillMount(){\r\n if(!this.props.isAuthenticated){\r\n this.props.addFlashMessage({\r\n type:'danger',\r\n text:'你需要登录才能访问该页面~'\r\n });\r\n this.props.history.push('/login');\r\n }\r\n }\r\n componentWillUpdate(nextProps){\r\n if(!nextProps.isAuthenticated){\r\n this.props.history.push('/login'); \r\n }\r\n }\r\n render(){\r\n return (\r\n <ComposeComponent {...this.props} />\r\n )\r\n }\r\n }\r\n\r\n const mapStateToProps = state =>{\r\n return {\r\n isAuthenticated: state.auth.isAuthenticated\r\n }\r\n }\r\n\r\n return connect(mapStateToProps, {addFlashMessage})(Authenticate);\r\n}","e:\\Front_End\\新建文件夹\\test\\ReLearning\\react\\react_redux_login\\src\\reducers\\flash.js",[],"e:\\Front_End\\新建文件夹\\test\\ReLearning\\react\\react_redux_login\\src\\reducers\\auth.js",[],"e:\\Front_End\\新建文件夹\\test\\ReLearning\\react\\react_redux_login\\src\\components\\App.jsx",[],"e:\\Front_End\\新建文件夹\\test\\ReLearning\\react\\react_redux_login\\src\\components\\shop\\ShopPage.jsx",[],"e:\\Front_End\\新建文件夹\\test\\ReLearning\\react\\react_redux_login\\src\\components\\login\\LoginPage.jsx",[],"e:\\Front_End\\新建文件夹\\test\\ReLearning\\react\\react_redux_login\\src\\components\\signup\\SignupPage.jsx",[],"e:\\Front_End\\新建文件夹\\test\\ReLearning\\react\\react_redux_login\\src\\actions\\flashMessages.js",[],"e:\\Front_End\\新建文件夹\\test\\ReLearning\\react\\react_redux_login\\src\\components\\flashMessage\\FlashMessage.jsx",[],"e:\\Front_End\\新建文件夹\\test\\ReLearning\\react\\react_redux_login\\src\\constants\\index.js",[],"e:\\Front_End\\新建文件夹\\test\\ReLearning\\react\\react_redux_login\\src\\actions\\signupActions.js",[],"e:\\Front_End\\新建文件夹\\test\\ReLearning\\react\\react_redux_login\\src\\components\\signup\\SignupForm.jsx",[],"e:\\Front_End\\新建文件夹\\test\\ReLearning\\react\\react_redux_login\\src\\components\\login\\LoginForm.jsx",[],"e:\\Front_End\\新建文件夹\\test\\ReLearning\\react\\react_redux_login\\src\\utils\\validations\\login.js",[],{"ruleId":"91","replacedBy":"92"},{"ruleId":"93","replacedBy":"94"},{"ruleId":"95","severity":1,"message":"96","line":5,"column":1,"nodeType":"97","endLine":35,"endColumn":2},"no-native-reassign",["98"],"no-negated-in-lhs",["99"],"import/no-anonymous-default-export","Unexpected default export of anonymous function","ExportDefaultDeclaration","no-global-assign","no-unsafe-negation"]
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。