\r\n
this.setState({draggable:false})} >\r\n {\r\n isUsingLeftContainer ?
\r\n
\r\n
\r\n {\r\n !isUsingTagNav || (isUsingTagNav && currentNoteNavList.length > 0) ?\r\n
:\r\n
}\r\n title=\"当前标签没有对应的笔记,你可以创建新的笔记或者删除当前标签\"\r\n extra={
}\r\n />\r\n }\r\n
\r\n\r\n
:<>>\r\n }\r\n\r\n
\r\n
\r\n\r\n \r\n\r\n\r\n \r\n\r\n
\r\n
\r\n
\r\n \r\n {/*
*/}\r\n \r\n \r\n );\r\n }\r\n}\r\n//暴露组件\r\n//state将会是store中的总状态需要分别拿出来\r\nexport default connect(state => ({TagList:state.TagList}),{\r\n //api层面的优化,会自动加入dispatch\r\n deleteTagListAction,\r\n addTagListAction,\r\n clearAllTagAction\r\n})(Leanote);","export default \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAX8AAABPCAYAAAADScV+AAATOUlEQVR4nO2df2gcxxXHV1IlnWJF0llSUhpLgaiqjIVNfMa2fCpNm0ASAoEGSlyKk4b0jyTQQkMgbSCQBkqTmEL7R6G00LQl/aMOBf9RCkkgaaC+lRpFUh1HhxThgGVcjFzZ0iWWTj/sK197JqzP+2NmdmZ2T3ofOIx1e7tvZ+a9eTPz5o1DEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEMRN1KkUSaVSoZIkCKKmmJqaOgx5BwcHj22FmqurCzfvsY3/2bNnu0ql0n3e79va2t7t6en5X/XvUPiLi4tP1dXVfcXvvvX19e4dd9zxvN9vCcIW3EhEtWeidnBdd7qjo6PHK/Di4uJZ/Nve3v7SZuwQjBp/FCj+zefzA97vi8XiMgq2u7v7sVKp9MDq6uoR/B2Fv2vXrlvC7s1/29zc/Jd9+/b9XEU+glChUCi8B8ekup3yNpnP53emvWDHx8df5PrmXNfV/w4PD9+brFTJwg1/kO1xXXdmM9obY8Y/qkDjggpxrncsqVc4ovYZHR19/erVq/lqR4aj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oiZF21HcdfNOChjpCDQacC44Tcd4cPbNZcfZeZXbtzgM7261q505dRJk+7XqTywUqlc+xexqHyzQfU11S8mE5qm0/BzeKKmoFV/3rvrTpoWBeJ2scisEo3Ay8m04mBTyblz547yw9PDQsogD882ODc392Y2mz3oV/cm6rgapN9dWFh4xnvoO2SvTpiVyWRmw9qGw9pHXFlRjn4x2igLdLRxPEtEAOHd/Mqae4Y6vWpv4jPVxG+8DcAY2szg6cVvVzXCYW3IY1r3kZ8ojFjG3/E0aMdjFLhycWXhW4/DXpK/jMMWl0wM/3hnVW288FxTzxShugyDlKk6pasNbykuvO69ZV7dPtJAkCLqNlDVz9HZCfJ7V+uhSeOKtotO3vtc0fabpNFPCyZ137jxF8XbSJwAD8ymIeM9ftpy96Oc5ufnn67O8cE91DSfNRAFyrypqelT26MrUarbKKZ5sDtTt7x4TqlUug97SpDIK+0duAwYba2trd1VLpf7eRvmbddJob6lCd26H2X8CYIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIJICY7j/B8dK4kC/yiqtAAAAABJRU5ErkJggg==\""],"sourceRoot":""}
\ No newline at end of file
diff --git a/public/static/js/main.9f5951c5.chunk.js b/public/static/js/main.9f5951c5.chunk.js
new file mode 100644
index 0000000..fc1b245
--- /dev/null
+++ b/public/static/js/main.9f5951c5.chunk.js
@@ -0,0 +1,2 @@
+(this.webpackJsonpleanote=this.webpackJsonpleanote||[]).push([[0],{123:function(e,t,n){},150:function(e,t){},152:function(e,t,n){"use strict";n.r(t);var a=n(0),r=n(24),c=n.n(r),i=n(85),s=n(69),o=n(39);var l=Object(s.a)({TagList:function(e,t){(void 0===e||1===e.length&&""===e[0])&&(e=[]);var n=t.type,a=t.TagListOrSingleTag;switch(console.log("TagListOrSingleTag",a),n){case"delete":return e.filter((function(e){return e!==a}));case"add":return console.log("add",[].concat(Object(o.a)(e),Object(o.a)(a))),[].concat(Object(o.a)(e),Object(o.a)(a));case"clear":return[];default:return e}}}),u=Object(s.b)(l),d=n(29),j=n(30),b=n(31),g=n(32),h=n(8),p=n(33),f=n.n(p),O=n(47),m=n.p+"static/media/bg.18c452c7.jpg",v=n(80),x=n(48),w=n.n(x),k=(n(123),n(110)),y=n(109),N=n(156),P=n(3),C=function(e){Object(b.a)(n,e);var t=Object(g.a)(n);function n(){var e;Object(d.a)(this,n);for(var a=arguments.length,r=new Array(a),c=0;c
1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"post";return new Promise((function(a,r){t=l.a.stringify(t,{encoder:function(e,t,n,a){if("value"===a||"key"===a)return encodeURIComponent(e)}}),s.a.request({url:"./api/".concat(e),data:t,method:n,timeout:1e4}).then((function(e){a(e.data)}),(function(e){r({status:!1})}))}))},d=function(e){var t=e.map(function(){var e=Object(c.a)(r.a.mark((function e(t){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,u(t.url,t.data,t.method);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());return new Promise((function(e,n){Promise.all(t).then((function(t){e(t)}),(function(e){n({status:!1})}))}))}}},[[152,1,3]]]);
+//# sourceMappingURL=main.9f5951c5.chunk.js.map
\ No newline at end of file
diff --git a/public/static/js/main.9f5951c5.chunk.js.map b/public/static/js/main.9f5951c5.chunk.js.map
new file mode 100644
index 0000000..69f323b
--- /dev/null
+++ b/public/static/js/main.9f5951c5.chunk.js.map
@@ -0,0 +1 @@
+{"version":3,"sources":["redux/store.js","redux/reducers/TagListReducer.js","components/Controller/Login/bg.jpg","components/Controller/Login/index.js","components/Controller/index.js","App.js","reportWebVitals.js","index.js","Utils/request.js"],"names":["allReducers","combineReducers","TagList","preState","action","undefined","length","type","TagListOrSingleTag","console","log","filter","ele","createStore","Login","state","active","loginEmail","loginPassword","registerEmail","registerPassword","handleForm","a","message","loading","content","key","request","email","pwd","result","Ok","PubSub","publish","token","Token","success","duration","warn","notification","info","description","icon","SmileOutlined","this","setState","className","src","background","onClick","ref","c","onChange","value","Component","Leanote","lazy","Controller","subscribe","msg","props","history","replace","fallback","path","component","to","withRouter","App","reportWebVitals","onPerfEntry","Function","then","getCLS","getFID","getFCP","getLCP","getTTFB","ReactDOM","render","store","document","getElementById","url","data","method","Promise","resolve","reject","qs","stringify","encoder","str","defaultEncoder","charset","encodeURIComponent","axios","timeout","reason","status","synchronizedRequest","requestArray","synchronizedResult","map","all"],"mappings":"yMAKA,IAAIA,EAAcC,YAAgB,CAC/BC,QCLY,SAAwBC,EAASC,SAE3BC,IAAbF,GAA+C,IAApBA,EAASG,QAAgC,KAAhBH,EAAS,MAAYA,EAAW,IAExF,IAAOI,EAA2BH,EAA3BG,KAAKC,EAAsBJ,EAAtBI,mBAKZ,OAJAC,QAAQC,IAAI,qBAAqBF,GAIzBD,GACJ,IAAK,SACD,OAAOJ,EAASQ,QAAO,SAAAC,GAAG,OAAIA,IAAQJ,KAC1C,IAAK,MAED,OADAC,QAAQC,IAAI,MAAZ,sBAAsBP,GAAtB,YAAmCK,KAC7B,GAAN,mBAAWL,GAAX,YAAuBK,IAC3B,IAAK,QACD,MAAO,GACX,QACI,OAAOL,MDVJU,cAAYb,G,gEETZ,MAA0B,+B,oECOnCc,E,4MACFC,MAAQ,CACJC,OAAQ,QACRC,WAAW,GACXC,cAAc,GACdC,cAAc,GACdC,iBAAiB,I,EAErBC,WAAa,WACT,6BAAO,oCAAAC,EAAA,wDACmE,EAAKP,MAAvEC,EADD,EACCA,OAAOC,EADR,EACQA,WAAWC,EADnB,EACmBA,cADnB,EACiCC,cADjC,EAC+CC,iBAD/C,KAEKJ,EAFL,OAGM,UAHN,OAoBM,aApBN,wCAKSO,IAAQC,QAAQ,CAAEC,QAAS,wBAAUC,IAAI,YALlD,SAM4BC,YAAQ,aAAa,CAACC,MAAMX,EAAWY,IAAIX,GAAe,QANtF,OAMaY,EANb,OAOSrB,QAAQC,IAAIoB,GACRA,EAAOC,IACPC,IAAOC,QAAQ,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/CC,EAA8C,EAA9CA,OAAQC,EAAsC,EAAtCA,OAAQC,EAA8B,EAA9BA,OAAQC,EAAsB,EAAtBA,OAAQC,EAAc,EAAdA,QAC3DJ,EAAOH,GACPI,EAAOJ,GACPK,EAAOL,GACPM,EAAON,GACPO,EAAQP,OCAdQ,IAASC,OACL,cAAC,IAAD,CAAUC,MAAOA,EAAjB,SACI,cAAC,EAAD,MAENC,SAASC,eAAe,SAM1Bb,K,qKCfQ1C,EAAW,SAACwD,GAA+B,IAA3BC,EAA0B,uDAArB,GAAGC,EAAkB,uDAAX,OAC/B,OAAO,IAAIC,SAAQ,SAACC,EAAQC,GAExBJ,EAAOK,IAAGC,UAAUN,EAAK,CAACO,QAAQ,SAAUC,EAAKC,EAAgBC,EAASvF,GAClE,GAAa,UAATA,GAA6B,QAATA,EAAgB,OAAOwF,mBAAmBH,MAG1EI,IAAMrE,QAAQ,CAIVwD,IAAI,SAAD,OAAUA,GACbC,OACAC,SACAY,QAAQ,MACTzB,MAAK,SAAAnB,GACJkC,EAAQlC,EAAM+B,SAChB,SAAAc,GACEV,EAAO,CAACW,QAAO,WAIvBC,EAAsB,SAAAC,GACtB,IAAIC,EAAqBD,EAAaE,IAAb,uCAAiB,WAAM3F,GAAN,SAAAU,EAAA,sEACzBK,EAAQf,EAAIuE,IAAIvE,EAAIwE,KAAKxE,EAAIyE,QADJ,mFAAjB,uDAGzB,OAAO,IAAIC,SAAQ,SAACC,EAASC,GACzBF,QAAQkB,IAAIF,GAAoB9B,MAAK,SAAAnB,GACjCkC,EAAQlC,MACV,SAAA6C,GACEV,EAAO,CAACW,QAAO,a","file":"static/js/main.9f5951c5.chunk.js","sourcesContent":["//引入最为核心的对象createStore 用于创建store对象\r\nimport {createStore,combineReducers} from \"redux\";\r\n//引入为count组件服务的reducer reducer负责对传入的state进行初始化或者更新的操作\r\nimport TagListReducer from \"./reducers/TagListReducer\";\r\n//allReducers 保存了所有的状态\r\nlet allReducers = combineReducers({\r\n TagList:TagListReducer\r\n})\r\n//暴露store\r\nexport default createStore(allReducers);","//reducer是一个纯函数,接受两个参数preState 和 action\r\nexport default function TagListReducer(preState,action){\r\n //当preState为undefined则对其进行初始化操作\r\n if (preState === undefined || (preState.length === 1 && preState[0] === '')) preState = [];\r\n //从action中获取type和data type指明操作的动作data则是操作的数据\r\n const {type,TagListOrSingleTag} = action;\r\n console.log(\"TagListOrSingleTag\",TagListOrSingleTag);\r\n /* console.log(\"前一次的状态\",preState);\r\n console.log(\"TagListOrSingleTag\",TagListOrSingleTag);*/\r\n //根据type决定\r\n switch (type){\r\n case 'delete':\r\n return preState.filter(ele => ele !== TagListOrSingleTag);\r\n case 'add':\r\n console.log(\"add\",[...preState, ...TagListOrSingleTag]);\r\n return [...preState,...TagListOrSingleTag] ;\r\n case \"clear\":\r\n return [];\r\n default:\r\n return preState;\r\n }\r\n}","export default __webpack_public_path__ + \"static/media/bg.18c452c7.jpg\";","import React, {Component} from 'react';\r\nimport background from './bg.jpg'\r\nimport {request} from \"../../../Utils/request\";\r\nimport PubSub from \"pubsub-js\";\r\nimport \"./login.css\"\r\nimport {message, notification} from \"antd\";\r\nimport {SmileOutlined} from \"@ant-design/icons\";\r\nclass Login extends Component {\r\n state = {\r\n active: 'login',\r\n loginEmail:\"\",\r\n loginPassword:\"\",\r\n registerEmail:'',\r\n registerPassword:\"\",\r\n }\r\n handleForm = () =>{\r\n return async () => {\r\n let{active,loginEmail,loginPassword,registerEmail,registerPassword} = this.state;\r\n switch (active){\r\n case \"login\":\r\n try {\r\n message.loading({ content: '登陆中...', key:'loading' });\r\n let result = await request(\"auth/login\",{email:loginEmail,pwd:loginPassword},\"post\")\r\n console.log(result);\r\n if (result.Ok){\r\n PubSub.publish(\"toBreadNote\",{token:result.Token})\r\n message.success({ content: '登录成功!', key:'loading', duration: 2 });\r\n }else {\r\n message.warn({ content: '密码错误或用户名不存在', key:'loading', duration: 2 })\r\n }\r\n }catch (e) {\r\n console.log(e);\r\n message.warn({ content: '登陆失败', key:'loading', duration: 2 })\r\n }\r\n\r\n break;\r\n case \"register\" :\r\n notification.info({\r\n message:'提示',\r\n description:'目前该项目处于测试状态,暂不支持账号的注册',\r\n icon:\r\n })\r\n break;\r\n }\r\n }\r\n\r\n }\r\n componentWillUnmount() {\r\n this.setState({},()=>{\r\n return false\r\n });\r\n }\r\n\r\n render() {\r\n let{active,loginEmail,loginPassword,registerEmail,registerPassword} = this.state;\r\n\r\n return (\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n {this.setState({active:\"login\"})}} className={`${active === \"login\" ? \"active\" : \"\"}`}>登陆\r\n /\r\n {this.setState({active:\"register\"})}} className={`${active === \"register\" ? \"active\" : \"\"}`}>注册\r\n
\r\n
\r\n {\r\n active === \"register\" ?\r\n
:\r\n
\r\n }\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n );\r\n }\r\n}\r\n\r\nexport default Login;","import React, {Component,lazy,Suspense} from 'react';\r\nimport {Redirect, Route, withRouter} from \"react-router-dom\";\r\n// import ReactMarkdown from \"react-markdown\";\r\nimport Login from \"./Login\";\r\n// import Leanote from \"./Leanote\";\r\nimport PubSub from \"pubsub-js\";\r\nconst Leanote = lazy(()=> import('./Leanote'))\r\nclass Controller extends Component {\r\n componentDidMount() {\r\n\r\n PubSub.subscribe(\"toBreadNote\",(msg,token) => {\r\n this.props.history.replace(\"/BreadNote\",token)\r\n })\r\n }\r\n\r\n render() {\r\n return (\r\n \r\n {/* \r\n # Your markdown here\r\n */}\r\n \r\n \r\n \r\n \r\n \r\n\r\n
\r\n );\r\n }\r\n}\r\n\r\nexport default withRouter(Controller);","import React, {Component} from 'react';\nimport Controller from \"./components/Controller\";\nimport {BrowserRouter} from \"react-router-dom\";\nimport 'antd/dist/antd.css'\n// import Test from \"./Test\"\nclass App extends Component {\n render() {\n return (\n \n \n \n \n\n {/**/}\n {/**/}\n
\n );\n }\n}\n\nexport default App;","const reportWebVitals = onPerfEntry => {\n if (onPerfEntry && onPerfEntry instanceof Function) {\n import('web-vitals').then(({ getCLS, getFID, getFCP, getLCP, getTTFB }) => {\n getCLS(onPerfEntry);\n getFID(onPerfEntry);\n getFCP(onPerfEntry);\n getLCP(onPerfEntry);\n getTTFB(onPerfEntry);\n });\n }\n};\n\nexport default reportWebVitals;\n","import React from 'react';\nimport ReactDOM from 'react-dom';\nimport {Provider} from \"react-redux\";\nimport store from \"./redux/store\";\nimport App from './App';\nimport reportWebVitals from './reportWebVitals';\n\nReactDOM.render(\n \n \n ,\n document.getElementById('root')\n);\n\n// If you want to start measuring performance in your app, pass a function\n// to log results (for example: reportWebVitals(console.log))\n// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals\nreportWebVitals();\n","import axios from \"axios\";\r\nimport qs from \"qs\";\r\n let request = (url,data={},method=\"post\") => {\r\n return new Promise((resolve,reject) => {\r\n\r\n data = qs.stringify(data,{encoder:function (str, defaultEncoder, charset, type){\r\n if (type === 'value' || type === 'key') return encodeURIComponent(str);;\r\n }})\r\n // console.log(data);\r\n axios.request({\r\n // url:'/watish/api/auth/login?email=1057143786@qq.com&pwd=123456',\r\n // url:`/watish/api/${url}`,\r\n // url:`/api/${url}`,\r\n url:`./api/${url}`,\r\n data,\r\n method,\r\n timeout:10000\r\n }).then(value => {\r\n resolve(value.data)\r\n },reason => {\r\n reject({status:false});\r\n })\r\n })\r\n }\r\n let synchronizedRequest = requestArray => {\r\n let synchronizedResult = requestArray.map(async ele =>{\r\n return await request(ele.url,ele.data,ele.method)\r\n })\r\n return new Promise((resolve, reject) => {\r\n Promise.all(synchronizedResult).then(value => {\r\n resolve(value)\r\n },reason => {\r\n reject({status:false})\r\n })\r\n })\r\n\r\n }\r\nexport {request,synchronizedRequest}"],"sourceRoot":""}
\ No newline at end of file
diff --git a/public/static/js/runtime-main.fc385e80.js b/public/static/js/runtime-main.fc385e80.js
new file mode 100644
index 0000000..5c4d32a
--- /dev/null
+++ b/public/static/js/runtime-main.fc385e80.js
@@ -0,0 +1,2 @@
+!function(e){function t(t){for(var n,o,i=t[0],c=t[1],l=t[2],s=0,p=[];s