Commit a751a99a authored by jiangyipeng's avatar jiangyipeng

1

parent aca5c34a
<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"><script src=https://g.alicdn.com/dingding/dingtalk-jsapi/2.10.3/dingtalk.open.js></script><script src=./static/showdown.min.js></script><title>doc</title><link href=./static/css/app.1d9fd9f454e38d13b1f70838b64639f9.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.481972107a4b2bbf8c2a.js></script><script type=text/javascript src=./static/js/vendor.2df28332b4a58963dfd2.js></script><script type=text/javascript src=./static/js/app.62362f0f532a2287ae5d.js></script></body></html>
\ No newline at end of file
<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"><script src=https://g.alicdn.com/dingding/dingtalk-jsapi/2.10.3/dingtalk.open.js></script><script src=./static/showdown.min.js></script><title>doc</title><link href=./static/css/app.1d9fd9f454e38d13b1f70838b64639f9.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.481972107a4b2bbf8c2a.js></script><script type=text/javascript src=./static/js/vendor.2df28332b4a58963dfd2.js></script><script type=text/javascript src=./static/js/app.7b6b561c033f2d5cf9b7.js></script></body></html>
\ No newline at end of file
webpackJsonp([7],{"+cgv":function(n,e){},"02pT":function(n,e){},"1H7Z":function(n,e){},"3IMD":function(n,e){},"3f40":function(n,e){},"4qOc":function(n,e){},FhoU:function(n,e){},I22p:function(n,e,t){"use strict";var i=t("//Fk"),r=t.n(i),o=t("mtWM"),a=t.n(o),u=t("mw3O"),c=t.n(u),f={config:"index.php/login/index/config",getSsoToken:"index.php/login/index/getSsoToken",folderList:"index.php/api/index/folderList",articleList:"index.php/api/index/articleList",articleDetail:"index.php/api/index/articleDetail",articleEdit:"index.php/api/index/articleEdit"},s=new(t("7+uW").a);a.a.interceptors.request.use(function(n){return n},function(n){return r.a.reject(n)}),a.a.interceptors.response.use(function(n){return 0!==n.data.err_code&&s.$notify({type:"danger",duration:2e3,message:n.data.err_msg}),n.data},function(n){return r.a.reject(n)});var l=function(n,e){var t=f[n];return a()({method:"post",baseURL:"http://doc-phone.linanquan.com/",url:t,data:c.a.stringify(e)})};e.a={config:function(n){return l("config",n)},getSsoToken:function(n){return l("getSsoToken",n)},folderList:function(n){return l("folderList",n)},articleList:function(n){return l("articleList",n)},articleDetail:function(n){return l("articleDetail",n)},articleEdit:function(n){return l("articleEdit",n)}}},Lorf:function(n,e){},NHnr:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});t("cOrn");var i=t("77gS"),r=(t("MY4N"),t("0zAV")),o=(t("nOaS"),t("pIDD")),a=(t("Ny/I"),t("7Tnr")),u=(t("3Lne"),t("SSsa")),c=(t("4yKu"),t("wolx")),f=t("7+uW"),s={render:function(){var n=this.$createElement,e=this._self._c||n;return e("div",{attrs:{id:"app"}},[e("router-view")],1)},staticRenderFns:[]};var l=t("VU/8")({name:"App"},s,!1,function(n){t("Lorf")},null,null).exports,p=t("/ocq"),d=(t("mvHQ"),t("I22p"),t("NYxO"));f.a.use(d.a);var h=new d.a.Store({state:{user_info:null},mutations:{userInfo:function(n,e){n.user_info=e}}});f.a.use(p.a);var m=new p.a({routes:[{path:"/",name:"index",component:function(){return t.e(0).then(t.bind(null,"2NXm"))},children:[{path:"folder",name:"folder",component:function(){return t.e(2).then(t.bind(null,"C0Ug"))}},{path:"folder2",name:"folder2",component:function(){return t.e(1).then(t.bind(null,"M+ft"))}},{path:"wangeditor",name:"wangeditor",component:function(){return t.e(5).then(t.bind(null,"5DMK"))}},{path:"markdown",name:"markdown",component:function(){return t.e(4).then(t.bind(null,"tZVe"))}},{path:"test",name:"test",component:function(){return t.e(3).then(t.bind(null,"Y7I0"))}}]}]});m.beforeEach(function(n,e,t){h.state.user_info,t()});var g=m,x=t("G0J2"),v=t.n(x);t("3f40"),t("4qOc"),t("+cgv");f.a.use(v.a,{placeholder:"请输入内容",modules:{toolbar:[[{color:[]}],["bold","italic","underline","strike"],[{header:1},{header:2}],[{header:[1,2,3,4,5,6,!1]}]]}}),f.a.use(c.a),f.a.use(u.a),f.a.use(a.a),f.a.use(o.a),f.a.use(r.a),f.a.use(i.a),f.a.config.productionTip=!1,new f.a({el:"#app",router:g,components:{App:l},template:"<App/>"})},T2s0:function(n,e){},WRFY:function(n,e){},WpgC:function(n,e){},hW8u:function(n,e){},"n/tq":function(n,e){},nsZj:function(n,e){},px3J:function(n,e){},qpP9:function(n,e){}},["NHnr"]);
//# sourceMappingURL=app.62362f0f532a2287ae5d.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///./src/api/apiList.js","webpack:///./src/api/index.js","webpack:///./src/api/methods.js","webpack:///./src/App.vue?bbff","webpack:///./src/App.vue","webpack:///src/App.vue","webpack:///./src/vuex/index.js","webpack:///./src/router/index.js","webpack:///./src/main.js"],"names":["apiList","config","getSsoToken","folderList","articleList","articleDetail","articleEdit","vm","Vue","axios","interceptors","request","use","error","promise_default","a","reject","response","data","err_code","$notify","type","duration","message","err_msg","api","apiName","url","method","baseURL","qs","stringify","__webpack_exports__","selectortype_template_index_0_src_App","render","_h","this","$createElement","_c","_self","attrs","id","staticRenderFns","src_App","__webpack_require__","normalizeComponent","name","ssrContext","Vuex","store","Store","state","user_info","mutations","userInfo","Router","router","routes","path","component","e","then","bind","children","beforeEach","to","from","next","VueQuillEditor","placeholder","modules","toolbar","color","header","search","es_button","divider","loading","field","notify","productionTip","el","components","App","template"],"mappings":"sRACeA,GACXC,OAAO,+BACPC,YAAY,oCAGZC,WAAW,iCACXC,YAAY,kCACZC,cAAc,oCACdC,YAAY,mCCJZC,EAAK,cAAIC,GAGbC,IAAMC,aAAaC,QAAQC,IAAI,SAAUX,GAErC,OAAOA,GACR,SAAUY,GAET,OAAOC,EAAAC,EAAQC,OAAOH,KAI1BJ,IAAMC,aAAaO,SAASL,IAAI,SAAUK,GAKtC,OAH8B,IAA3BA,EAASC,KAAKC,UACb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,KAAM,UACNZ,KAAK,UACLa,UAAW,kBAAIf,EAAAgB,EAAA,GAAAC,KAAAjB,EAAAkB,KAAA,iBAGfJ,KAAM,aACNZ,KAAK,aACLa,UAAW,kBAAIf,EAAAgB,EAAA,GAAAC,KAAAjB,EAAAkB,KAAA,iBAGfJ,KAAM,WACNZ,KAAK,WACLa,UAAW,kBAAIf,EAAAgB,EAAA,GAAAC,KAAAjB,EAAAkB,KAAA,iBAGfJ,KAAM,OACNZ,KAAK,OACLa,UAAW,kBAAIf,EAAAgB,EAAA,GAAAC,KAAAjB,EAAAkB,KAAA,qBAOnCN,EAAOQ,WAAW,SAACC,EAAIC,EAAMC,GAErBlB,EAAME,MAAMC,UAGhBe,MAGWX,2DCxCfhD,IAAII,IAAIwD,KACNC,YAAY,QACZC,SACEC,WACIC,YACD,OAAQ,SAAU,YAAa,YAC9BC,OAAU,IAAKA,OAAU,MACzBA,QAAW,EAAG,EAAG,EAAG,EAAG,EAAG,GAAG,SAQrCjE,IAAII,IAAJ8D,EAAA,GACAlE,IAAII,IAAJ+D,EAAA,GACAnE,IAAII,IAAJgE,EAAA,GACApE,IAAII,IAAJiE,EAAA,GACArE,IAAII,IAAJkE,EAAA,GACAtE,IAAII,IAAJmE,EAAA,GACAvE,IAAIP,OAAO+E,eAAgB,EAG3B,IAAIxE,KACFyE,GAAI,OACJzB,SACA0B,YAAcC,OACdC,SAAU","file":"static/js/app.62362f0f532a2287ae5d.js","sourcesContent":["\r\nexport default {\r\n config:'index.php/login/index/config', //获取钉钉配置信息\r\n getSsoToken:'index.php/login/index/getSsoToken', //通过免签码获取uid\r\n\r\n\r\n folderList:'index.php/api/index/folderList', //访问文件夹列表\r\n articleList:'index.php/api/index/articleList', //访问文件列表\r\n articleDetail:'index.php/api/index/articleDetail', //获取文件详情\r\n articleEdit:'index.php/api/index/articleEdit', //修改文件\r\n}\n\n\n// WEBPACK FOOTER //\n// ./src/api/apiList.js","import axios from 'axios';\r\nimport qs from 'qs';\r\nimport apiList from './apiList';\r\nimport Vue from 'vue';\r\n\r\nlet vm = new Vue();\r\nlet baseUrl = 'http://doc-phone.linanquan.com/';\r\n// 添加请求拦截器\r\naxios.interceptors.request.use(function (config) {\r\n // 在发送请求之前做些什么\r\n return config;\r\n}, function (error) {\r\n // 对请求错误做些什么\r\n return Promise.reject(error);\r\n});\r\n\r\n// 添加响应拦截器\r\naxios.interceptors.response.use(function (response) {\r\n // 对响应数据做点什么\r\n if(response.data.err_code !== 0){\r\n vm.$notify({ type:'danger',duration: 2000,message:response.data.err_msg});\r\n }\r\n return response.data;\r\n}, function (error) {\r\n // 对响应错误做点什么\r\n return Promise.reject(error);\r\n});\r\n\r\nexport default {\r\n post(apiName,data){\r\n let url = apiList[apiName];\r\n return axios({\r\n method:'post',\r\n baseURL:baseUrl,\r\n url:url,\r\n data:qs.stringify(data),\r\n })\r\n },\r\n}\n\n\n// WEBPACK FOOTER //\n// ./src/api/index.js","import api from './index';\r\n\r\nexport default {\r\n //获取钉钉配置信息\r\n config(data){\r\n return api.post('config',data);\r\n },\r\n //通过免签码获取uid\r\n getSsoToken(data){\r\n return api.post('getSsoToken',data);\r\n },\r\n\r\n\r\n //访问文件夹列表\r\n folderList(data){\r\n return api.post('folderList',data);\r\n },\r\n //访问文件列表\r\n articleList(data){\r\n return api.post('articleList',data);\r\n },\r\n //获取文件详情\r\n articleDetail(data){\r\n return api.post('articleDetail',data);\r\n },\r\n //修改文件\r\n articleEdit(data){\r\n return api.post('articleEdit',data);\r\n },\r\n}\n\n\n// WEBPACK FOOTER //\n// ./src/api/methods.js","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"app\"}},[_c('router-view')],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-2408f9b8\",\"hasScoped\":false,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/App.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-2408f9b8\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!less-loader?{\\\"sourceMap\\\":true}!../node_modules/vue-loader/lib/selector?type=styles&index=0!./App.vue\")\n}\nvar normalizeComponent = require(\"!../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../node_modules/vue-loader/lib/selector?type=script&index=0!./App.vue\"\nimport __vue_script__ from \"!!babel-loader!../node_modules/vue-loader/lib/selector?type=script&index=0!./App.vue\"\n/* template */\nimport __vue_template__ from \"!!../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-2408f9b8\\\",\\\"hasScoped\\\":false,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../node_modules/vue-loader/lib/selector?type=template&index=0!./App.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/App.vue\n// module id = null\n// module chunks = ","<template>\n <div id=\"app\">\n <router-view/>\n </div>\n</template>\n\n<script>\n export default {\n name: 'App'\n }\n</script>\n\n<style lang=\"less\">\n @import \"./style/app.less\";\n @import \"./assets/font.css\";\n @import \"./style/normalize.css\";\n @basefont: 50;\n #app {\n font-family: 'Avenir', Helvetica, Arial, sans-serif;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n font-size:24rem /@basefont;\n }\n</style>\n\n\n\n// WEBPACK FOOTER //\n// src/App.vue","import Vue from 'vue';\r\nimport Vuex from 'vuex';\r\n\r\nVue.use(Vuex);\r\n\r\nconst store = new Vuex.Store({\r\n state: {\r\n user_info:null, //用户信息\r\n },\r\n mutations: {\r\n userInfo(state,data){\r\n state.user_info = data;\r\n },\r\n }\r\n});\r\n\r\nexport default store;\n\n\n// WEBPACK FOOTER //\n// ./src/vuex/index.js","import Vue from 'vue';\nimport Router from 'vue-router';\nimport ddLogin from '../assets/js/ddLogin';\nimport store from '../vuex/index';\n\nVue.use(Router);\n\nlet router = new Router({\n routes: [\n {\n path: '/',\n name: 'index',\n component: ()=>import('@/pages/index.vue'),\n children:[\n {\n path: 'folder',\n name:'folder',\n component: ()=>import('@/pages/folder.vue'),\n },\n {\n path: 'folder2',\n name:'folder2',\n component: ()=>import('@/pages/folder2.vue'),\n },\n {\n path: 'wangeditor',\n name:'wangeditor',\n component: ()=>import('@/pages/wangeditor.vue'),\n },\n {\n path: 'markdown',\n name:'markdown',\n component: ()=>import('@/pages/markdown.vue'),\n },\n {\n path: 'test',\n name:'test',\n component: ()=>import('@/pages/test.vue'),\n },\n ]\n },\n ]\n});\n\nrouter.beforeEach((to, from, next) => {\n //没有用户信息说明则获取\n if(!store.state.user_info){\n // ddLogin.getCode();\n }\n next();\n});\n\nexport default router;\n\n\n// WEBPACK FOOTER //\n// ./src/router/index.js","// The Vue build version to load with the `import` command\n// (runtime-only or standalone) has been set in webpack.base.conf with an alias.\nimport Vue from 'vue'\nimport App from './App'\nimport router from './router'\nimport { Button,Search,Divider,Loading,Field,Notify } from 'vant';\nimport VueQuillEditor from 'vue-quill-editor';\n// require styles\nimport 'quill/dist/quill.core.css';\nimport 'quill/dist/quill.snow.css';\nimport 'quill/dist/quill.bubble.css';\n\nVue.use(VueQuillEditor, /* { default global options } */{\n placeholder:'请输入内容',\n modules: {\n toolbar: [\n [{'color': []}],\n ['bold', 'italic', 'underline', 'strike'],\n [{'header': 1}, {'header': 2}],\n [{'header': [1, 2, 3, 4, 5, 6, false]}\n ],\n ],\n },\n // readOnly: false,\n // theme: 'bubble'\n});\n\nVue.use(Search);\nVue.use(Button);\nVue.use(Divider);\nVue.use(Loading);\nVue.use(Field);\nVue.use(Notify);\nVue.config.productionTip = false\n\n/* eslint-disable no-new */\nnew Vue({\n el: '#app',\n router,\n components: { App },\n template: '<App/>'\n})\n\n\n\n// WEBPACK FOOTER //\n// ./src/main.js"],"sourceRoot":""}
\ No newline at end of file
webpackJsonp([7],{"+cgv":function(n,e){},"02pT":function(n,e){},"1H7Z":function(n,e){},"3IMD":function(n,e){},"3f40":function(n,e){},"4qOc":function(n,e){},FhoU:function(n,e){},I22p:function(n,e,t){"use strict";var o=t("//Fk"),i=t.n(o),r=t("mtWM"),a=t.n(r),c=t("mw3O"),u=t.n(c),f={config:"index.php/login/index/config",getSsoToken:"index.php/login/index/getSsoToken",folderList:"index.php/api/index/folderList",articleList:"index.php/api/index/articleList",articleDetail:"index.php/api/index/articleDetail",articleEdit:"index.php/api/index/articleEdit"},s=new(t("7+uW").a);a.a.interceptors.request.use(function(n){return n},function(n){return i.a.reject(n)}),a.a.interceptors.response.use(function(n){return 0!==n.data.err_code&&s.$notify({type:"danger",duration:2e3,message:n.data.err_msg}),n.data},function(n){return i.a.reject(n)});var d=function(n,e){var t=f[n];return a()({method:"post",baseURL:"http://doc-phone.linanquan.com/",url:t,data:u.a.stringify(e)})};e.a={config:function(n){return d("config",n)},getSsoToken:function(n){return d("getSsoToken",n)},folderList:function(n){return d("folderList",n)},articleList:function(n){return d("articleList",n)},articleDetail:function(n){return d("articleDetail",n)},articleEdit:function(n){return d("articleEdit",n)}}},Lorf:function(n,e){},NHnr:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});t("cOrn");var o=t("77gS"),i=(t("MY4N"),t("0zAV")),r=(t("nOaS"),t("pIDD")),a=(t("Ny/I"),t("7Tnr")),c=(t("3Lne"),t("SSsa")),u=(t("4yKu"),t("wolx")),f=t("7+uW"),s={render:function(){var n=this.$createElement,e=this._self._c||n;return e("div",{attrs:{id:"app"}},[e("router-view")],1)},staticRenderFns:[]};var d=t("VU/8")({name:"App"},s,!1,function(n){t("Lorf")},null,null).exports,l=t("/ocq"),p=t("mvHQ"),h=t.n(p),g=t("I22p"),m={config:function(n){g.a.config().then(function(e){0==e.err_code&&(console.log("config::",e),n(e.data))})},getSsoToken:function(n){g.a.getSsoToken({code:n}).then(function(n){alert(h()(n)),0==n.err_code&&console.log("config::",n)})},getCode:function(){var n=this;this.config(function(e){dd.ready(function(){dd.runtime.permission.requestAuthCode({corpId:e.corpId,onSuccess:function(e){alert(111),n.getSsoToken(e.code)},onFail:function(e){alert(h()(e)),n.getSsoToken(e.code)}})})})}},x=t("NYxO");f.a.use(x.a);var v=new x.a.Store({state:{user_info:null},mutations:{userInfo:function(n,e){n.user_info=e}}});f.a.use(l.a);var S=new l.a({routes:[{path:"/",name:"index",component:function(){return t.e(0).then(t.bind(null,"2NXm"))},children:[{path:"folder",name:"folder",component:function(){return t.e(2).then(t.bind(null,"C0Ug"))}},{path:"folder2",name:"folder2",component:function(){return t.e(1).then(t.bind(null,"M+ft"))}},{path:"wangeditor",name:"wangeditor",component:function(){return t.e(5).then(t.bind(null,"5DMK"))}},{path:"markdown",name:"markdown",component:function(){return t.e(4).then(t.bind(null,"tZVe"))}},{path:"test",name:"test",component:function(){return t.e(3).then(t.bind(null,"Y7I0"))}}]}]});S.beforeEach(function(n,e,t){v.state.user_info||m.getCode(),t()});var k=S,b=t("G0J2"),w=t.n(b);t("3f40"),t("4qOc"),t("+cgv");f.a.use(w.a,{placeholder:"请输入内容",modules:{toolbar:[[{color:[]}],["bold","italic","underline","strike"],[{header:1},{header:2}],[{header:[1,2,3,4,5,6,!1]}]]}}),f.a.use(u.a),f.a.use(c.a),f.a.use(a.a),f.a.use(r.a),f.a.use(i.a),f.a.use(o.a),f.a.config.productionTip=!1,new f.a({el:"#app",router:k,components:{App:d},template:"<App/>"})},T2s0:function(n,e){},WRFY:function(n,e){},WpgC:function(n,e){},hW8u:function(n,e){},"n/tq":function(n,e){},nsZj:function(n,e){},px3J:function(n,e){},qpP9:function(n,e){}},["NHnr"]);
//# sourceMappingURL=app.7b6b561c033f2d5cf9b7.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///./src/api/apiList.js","webpack:///./src/api/index.js","webpack:///./src/api/methods.js","webpack:///./src/App.vue?bbff","webpack:///./src/App.vue","webpack:///src/App.vue","webpack:///./src/assets/js/ddLogin.js","webpack:///./src/vuex/index.js","webpack:///./src/router/index.js","webpack:///./src/main.js"],"names":["apiList","config","getSsoToken","folderList","articleList","articleDetail","articleEdit","vm","Vue","axios","interceptors","request","use","error","promise_default","a","reject","response","data","err_code","$notify","type","duration","message","err_msg","api","apiName","url","method","baseURL","qs","stringify","__webpack_exports__","selectortype_template_index_0_src_App","render","_h","this","$createElement","_c","_self","attrs","id","staticRenderFns","src_App","__webpack_require__","normalizeComponent","name","ssrContext","ddLogin","callback","then","console","log","code","alert","stringify_default","getCode","_this","dd","ready","runtime","permission","requestAuthCode","corpId","onSuccess","info","onFail","Vuex","store","Store","state","user_info","mutations","userInfo","Router","router","routes","path","component","e","bind","children","beforeEach","to","from","next","VueQuillEditor","placeholder","modules","toolbar","color","header","search","es_button","divider","loading","field","notify","productionTip","el","components","App","template"],"mappings":"sRACeA,GACXC,OAAO,+BACPC,YAAY,oCAGZC,WAAW,iCACXC,YAAY,kCAC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AME,MAAMC,WACZvB,EAAQQ,UAEZ6B,MAGWV,2DCxCfnE,IAAII,IAAI0E,KACNC,YAAY,QACZC,SACEC,WACIC,YACD,OAAQ,SAAU,YAAa,YAC9BC,OAAU,IAAKA,OAAU,MACzBA,QAAW,EAAG,EAAG,EAAG,EAAG,EAAG,GAAG,SAQrCnF,IAAII,IAAJgF,EAAA,GACApF,IAAII,IAAJiF,EAAA,GACArF,IAAII,IAAJkF,EAAA,GACAtF,IAAII,IAAJmF,EAAA,GACAvF,IAAII,IAAJoF,EAAA,GACAxF,IAAII,IAAJqF,EAAA,GACAzF,IAAIP,OAAOiG,eAAgB,EAG3B,IAAI1F,KACF2F,GAAI,OACJxB,SACAyB,YAAcC,OACdC,SAAU","file":"static/js/app.7b6b561c033f2d5cf9b7.js","sourcesContent":["\r\nexport default {\r\n config:'index.php/login/index/config', //获取钉钉配置信息\r\n getSsoToken:'index.php/login/index/getSsoToken', //通过免签码获取uid\r\n\r\n\r\n folderList:'index.php/api/index/folderList', //访问文件夹列表\r\n articleList:'index.php/api/index/articleList', //访问文件列表\r\n articleDetail:'index.php/api/index/articleDetail', //获取文件详情\r\n articleEdit:'index.php/api/index/articleEdit', //修改文件\r\n}\n\n\n// WEBPACK FOOTER //\n// ./src/api/apiList.js","import axios from 'axios';\r\nimport qs from 'qs';\r\nimport apiList from './apiList';\r\nimport Vue from 'vue';\r\n\r\nlet vm = new Vue();\r\nlet baseUrl = 'http://doc-phone.linanquan.com/';\r\n// 添加请求拦截器\r\naxios.interceptors.request.use(function (config) {\r\n // 在发送请求之前做些什么\r\n return config;\r\n}, function (error) {\r\n // 对请求错误做些什么\r\n return Promise.reject(error);\r\n});\r\n\r\n// 添加响应拦截器\r\naxios.interceptors.response.use(function (response) {\r\n // 对响应数据做点什么\r\n if(response.data.err_code !== 0){\r\n vm.$notify({ type:'danger',duration: 2000,message:response.data.err_msg});\r\n }\r\n return response.data;\r\n}, function (error) {\r\n // 对响应错误做点什么\r\n return Promise.reject(error);\r\n});\r\n\r\nexport default {\r\n post(apiName,data){\r\n let url = apiList[apiName];\r\n return axios({\r\n method:'post',\r\n baseURL:baseUrl,\r\n url:url,\r\n data:qs.stringify(data),\r\n })\r\n },\r\n}\n\n\n// WEBPACK FOOTER //\n// ./src/api/index.js","import api from './index';\r\n\r\nexport default {\r\n //获取钉钉配置信息\r\n config(data){\r\n return api.post('config',data);\r\n },\r\n //通过免签码获取uid\r\n getSsoToken(data){\r\n return api.post('getSsoToken',data);\r\n },\r\n\r\n\r\n //访问文件夹列表\r\n folderList(data){\r\n return api.post('folderList',data);\r\n },\r\n //访问文件列表\r\n articleList(data){\r\n return api.post('articleList',data);\r\n },\r\n //获取文件详情\r\n articleDetail(data){\r\n return api.post('articleDetail',data);\r\n },\r\n //修改文件\r\n articleEdit(data){\r\n return api.post('articleEdit',data);\r\n },\r\n}\n\n\n// WEBPACK FOOTER //\n// ./src/api/methods.js","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"app\"}},[_c('router-view')],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-2408f9b8\",\"hasScoped\":false,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/App.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-2408f9b8\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!less-loader?{\\\"sourceMap\\\":true}!../node_modules/vue-loader/lib/selector?type=styles&index=0!./App.vue\")\n}\nvar normalizeComponent = require(\"!../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../node_modules/vue-loader/lib/selector?type=script&index=0!./App.vue\"\nimport __vue_script__ from \"!!babel-loader!../node_modules/vue-loader/lib/selector?type=script&index=0!./App.vue\"\n/* template */\nimport __vue_template__ from \"!!../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-2408f9b8\\\",\\\"hasScoped\\\":false,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../node_modules/vue-loader/lib/selector?type=template&index=0!./App.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/App.vue\n// module id = null\n// module chunks = ","<template>\n <div id=\"app\">\n <router-view/>\n </div>\n</template>\n\n<script>\n export default {\n name: 'App'\n }\n</script>\n\n<style lang=\"less\">\n @import \"./style/app.less\";\n @import \"./assets/font.css\";\n @import \"./style/normalize.css\";\n @basefont: 50;\n #app {\n font-family: 'Avenir', Helvetica, Arial, sans-serif;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n font-size:24rem /@basefont;\n }\n</style>\n\n\n\n// WEBPACK FOOTER //\n// src/App.vue","\r\nimport api from '../../api/methods';\r\nexport default {\r\n //获取钉钉配置信息\r\n config(callback){\r\n api.config().then((data)=>{\r\n if(data.err_code == 0){\r\n console.log('config::',data)\r\n callback(data.data);\r\n }\r\n })\r\n },\r\n //通过免签码获取uid\r\n getSsoToken(code){\r\n api.getSsoToken({code:code\t}).then((data)=>{\r\n alert(JSON.stringify(data))\r\n if(data.err_code == 0){\r\n // alert(JSON.stringify(data))\r\n console.log('config::',data)\r\n }\r\n })\r\n },\r\n //获取微应用免登授权码\r\n getCode(){\r\n let _this = this;\r\n this.config((data)=>{\r\n dd.ready(function() {\r\n dd.runtime.permission.requestAuthCode({\r\n corpId: data.corpId, // 企业id\r\n onSuccess: function (info) {\r\n alert(111)\r\n // code = info.code // 通过该免登授权码可以获取用户身份\r\n _this.getSsoToken(info.code);\r\n },\r\n onFail: function (info) {\r\n alert(JSON.stringify(info))\r\n _this.getSsoToken(info.code);\r\n },\r\n });\r\n });\r\n })\r\n },\r\n}\n\n\n// WEBPACK FOOTER //\n// ./src/assets/js/ddLogin.js","import Vue from 'vue';\r\nimport Vuex from 'vuex';\r\n\r\nVue.use(Vuex);\r\n\r\nconst store = new Vuex.Store({\r\n state: {\r\n user_info:null, //用户信息\r\n },\r\n mutations: {\r\n userInfo(state,data){\r\n state.user_info = data;\r\n },\r\n }\r\n});\r\n\r\nexport default store;\n\n\n// WEBPACK FOOTER //\n// ./src/vuex/index.js","import Vue from 'vue';\nimport Router from 'vue-router';\nimport ddLogin from '../assets/js/ddLogin';\nimport store from '../vuex/index';\n\nVue.use(Router);\n\nlet router = new Router({\n routes: [\n {\n path: '/',\n name: 'index',\n component: ()=>import('@/pages/index.vue'),\n children:[\n {\n path: 'folder',\n name:'folder',\n component: ()=>import('@/pages/folder.vue'),\n },\n {\n path: 'folder2',\n name:'folder2',\n component: ()=>import('@/pages/folder2.vue'),\n },\n {\n path: 'wangeditor',\n name:'wangeditor',\n component: ()=>import('@/pages/wangeditor.vue'),\n },\n {\n path: 'markdown',\n name:'markdown',\n component: ()=>import('@/pages/markdown.vue'),\n },\n {\n path: 'test',\n name:'test',\n component: ()=>import('@/pages/test.vue'),\n },\n ]\n },\n ]\n});\n\nrouter.beforeEach((to, from, next) => {\n //没有用户信息说明则获取\n if(!store.state.user_info){\n ddLogin.getCode();\n }\n next();\n});\n\nexport default router;\n\n\n// WEBPACK FOOTER //\n// ./src/router/index.js","// The Vue build version to load with the `import` command\n// (runtime-only or standalone) has been set in webpack.base.conf with an alias.\nimport Vue from 'vue'\nimport App from './App'\nimport router from './router'\nimport { Button,Search,Divider,Loading,Field,Notify } from 'vant';\nimport VueQuillEditor from 'vue-quill-editor';\n// require styles\nimport 'quill/dist/quill.core.css';\nimport 'quill/dist/quill.snow.css';\nimport 'quill/dist/quill.bubble.css';\n\nVue.use(VueQuillEditor, /* { default global options } */{\n placeholder:'请输入内容',\n modules: {\n toolbar: [\n [{'color': []}],\n ['bold', 'italic', 'underline', 'strike'],\n [{'header': 1}, {'header': 2}],\n [{'header': [1, 2, 3, 4, 5, 6, false]}\n ],\n ],\n },\n // readOnly: false,\n // theme: 'bubble'\n});\n\nVue.use(Search);\nVue.use(Button);\nVue.use(Divider);\nVue.use(Loading);\nVue.use(Field);\nVue.use(Notify);\nVue.config.productionTip = false\n\n/* eslint-disable no-new */\nnew Vue({\n el: '#app',\n router,\n components: { App },\n template: '<App/>'\n})\n\n\n\n// WEBPACK FOOTER //\n// ./src/main.js"],"sourceRoot":""}
\ No newline at end of file
{"version":3,"sources":["webpack:///webpack/bootstrap 8c287d536a225febe5bf"],"names":["parentJsonpFunction","window","chunkIds","moreModules","executeModules","moduleId","chunkId","result","i","resolves","length","installedChunks","push","Object","prototype","hasOwnProperty","call","modules","shift","__webpack_require__","s","installedModules","8","exports","module","l","e","installedChunkData","Promise","resolve","promise","reject","head","document","getElementsByTagName","script","createElement","type","charset","async","timeout","nc","setAttribute","src","p","0","1","2","3","4","5","setTimeout","onScriptComplete","onerror","onload","clearTimeout","chunk","Error","undefined","appendChild","m","c","d","name","getter","o","defineProperty","configurable","enum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,QAAAvB,EAAAsB,IAEAN,EAAAQ,IAAAxB,EAAAyB,EAAA,aAAAtC,EAAA,KAAwEuC,EAAA,uBAAAC,EAAA,uBAAAC,EAAA,uBAAAC,EAAA,uBAAAC,EAAA,uBAAAC,EAAA,wBAAkK5C,GAAA,MAC1O,IAAAkC,EAAAW,WAAAC,EAAA,MAEA,SAAAA,IAEAjB,EAAAkB,QAAAlB,EAAAmB,OAAA,KACAC,aAAAf,GACA,IAAAgB,EAAA7C,EAAAL,GACA,IAAAkD,IACAA,GACAA,EAAA,OAAAC,MAAA,iBAAAnD,EAAA,aAEAK,EAAAL,QAAAoD,GAKA,OAfAvB,EAAAkB,QAAAlB,EAAAmB,OAAAF,EAaApB,EAAA2B,YAAAxB,GAEAL,GAIAX,EAAAyC,EAAA3C,EAGAE,EAAA0C,EAAAxC,EAGAF,EAAA2C,EAAA,SAAAvC,EAAAwC,EAAAC,GACA7C,EAAA8C,EAAA1C,EAAAwC,IACAlD,OAAAqD,eAAA3C,EAAAwC,GACAI,cAAA,EACAC,YAAA,EACAC,IAAAL,KAMA7C,EAAAmD,EAAA,SAAA9C,GACA,IAAAwC,EAAAxC,KAAA+C,WACA,WAA2B,OAAA/C,EAAA,SAC3B,WAAiC,OAAAA,GAEjC,OADAL,EAAA2C,EAAAE,EAAA,IAAAA,GACAA,GAIA7C,EAAA8C,EAAA,SAAAO,EAAAC,GAAsD,OAAA5D,OAAAC,UAAAC,eAAAC,KAAAwD,EAAAC,IAGtDtD,EAAAyB,EAAA,KAGAzB,EAAAuD,GAAA,SAAAC,GAA8D,MAApBC,QAAAC,MAAAF,GAAoBA","file":"static/js/manifest.481972107a4b2bbf8c2a.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tvar parentJsonpFunction = window[\"webpackJsonp\"];\n \twindow[\"webpackJsonp\"] = function webpackJsonpCallback(chunkIds, moreModules, executeModules) {\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [], result;\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules, executeModules);\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n \t\tif(executeModules) {\n \t\t\tfor(i=0; i < executeModules.length; i++) {\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = executeModules[i]);\n \t\t\t}\n \t\t}\n \t\treturn result;\n \t};\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// objects to store loaded and loading chunks\n \tvar installedChunks = {\n \t\t8: 0\n \t};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData === 0) {\n \t\t\treturn new Promise(function(resolve) { resolve(); });\n \t\t}\n\n \t\t// a Promise means \"currently loading\".\n \t\tif(installedChunkData) {\n \t\t\treturn installedChunkData[2];\n \t\t}\n\n \t\t// setup Promise in chunk cache\n \t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t});\n \t\tinstalledChunkData[2] = promise;\n\n \t\t// start chunk loading\n \t\tvar head = document.getElementsByTagName('head')[0];\n \t\tvar script = document.createElement('script');\n \t\tscript.type = \"text/javascript\";\n \t\tscript.charset = 'utf-8';\n \t\tscript.async = true;\n \t\tscript.timeout = 120000;\n\n \t\tif (__webpack_require__.nc) {\n \t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t}\n \t\tscript.src = __webpack_require__.p + \"static/js/\" + chunkId + \".\" + {\"0\":\"0b3e29fa9fb715a6c568\",\"1\":\"7e05128e2126c69a7e68\",\"2\":\"886e1aadccebe3fa542c\",\"3\":\"41f78fb7461aaef8a580\",\"4\":\"d0cca719db357b6e07c6\",\"5\":\"9cd0f2020c75b7a9dbf1\"}[chunkId] + \".js\";\n \t\tvar timeout = setTimeout(onScriptComplete, 120000);\n \t\tscript.onerror = script.onload = onScriptComplete;\n \t\tfunction onScriptComplete() {\n \t\t\t// avoid mem leaks in IE.\n \t\t\tscript.onerror = script.onload = null;\n \t\t\tclearTimeout(timeout);\n \t\t\tvar chunk = installedChunks[chunkId];\n \t\t\tif(chunk !== 0) {\n \t\t\t\tif(chunk) {\n \t\t\t\t\tchunk[1](new Error('Loading chunk ' + chunkId + ' failed.'));\n \t\t\t\t}\n \t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t}\n \t\t};\n \t\thead.appendChild(script);\n\n \t\treturn promise;\n \t};\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"./\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap 8c287d536a225febe5bf"],"sourceRoot":""}
\ No newline at end of file
{"version":3,"sources":["webpack:///webpack/bootstrap e265131a295a85607897"],"names":["parentJsonpFunction","window","chunkIds","moreModules","executeModules","moduleId","chunkId","result","i","resolves","length","installedChunks","push","Object","prototype","hasOwnProperty","call","modules","shift","__webpack_require__","s","installedModules","8","exports","module","l","e","installedChunkData","Promise","resolve","promise","reject","head","document","getElementsByTagName","script","createElement","type","charset","async","timeout","nc","setAttribute","src","p","0","1","2","3","4","5","setTimeout","onScriptComplete","onerror","onload","clearTimeout","chunk","Error","undefined","appendChild","m","c","d","name","getter","o","defineProperty","configurable","enumerable","get","n","__esModule","object","property","oe","err","console","error"],"mappings":"aACA,IAAAA,EAAAC,OAAA,aACAA,OAAA,sBAAAC,EAAAC,EAAAC,GAIA,IADA,IAAAC,EAAAC,EAAAC,EAAAC,EAAA,EAAAC,KACQD,EAAAN,EAAAQ,OAAoBF,IAC5BF,EAAAJ,EAAAM,GACAG,EAAAL,IACAG,EAAAG,KAAAD,EAAAL,GAAA,IAEAK,EAAAL,GAAA,EAEA,IAAAD,KAAAF,EACAU,OAAAC,UAAAC,eAAAC,KAAAb,EAAAE,KACAY,EAAAZ,GAAAF,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nD,EAAA,aAEAK,EAAAL,QAAAoD,GAKA,OAfAvB,EAAAkB,QAAAlB,EAAAmB,OAAAF,EAaApB,EAAA2B,YAAAxB,GAEAL,GAIAX,EAAAyC,EAAA3C,EAGAE,EAAA0C,EAAAxC,EAGAF,EAAA2C,EAAA,SAAAvC,EAAAwC,EAAAC,GACA7C,EAAA8C,EAAA1C,EAAAwC,IACAlD,OAAAqD,eAAA3C,EAAAwC,GACAI,cAAA,EACAC,YAAA,EACAC,IAAAL,KAMA7C,EAAAmD,EAAA,SAAA9C,GACA,IAAAwC,EAAAxC,KAAA+C,WACA,WAA2B,OAAA/C,EAAA,SAC3B,WAAiC,OAAAA,GAEjC,OADAL,EAAA2C,EAAAE,EAAA,IAAAA,GACAA,GAIA7C,EAAA8C,EAAA,SAAAO,EAAAC,GAAsD,OAAA5D,OAAAC,UAAAC,eAAAC,KAAAwD,EAAAC,IAGtDtD,EAAAyB,EAAA,KAGAzB,EAAAuD,GAAA,SAAAC,GAA8D,MAApBC,QAAAC,MAAAF,GAAoBA","file":"static/js/manifest.481972107a4b2bbf8c2a.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tvar parentJsonpFunction = window[\"webpackJsonp\"];\n \twindow[\"webpackJsonp\"] = function webpackJsonpCallback(chunkIds, moreModules, executeModules) {\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [], result;\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules, executeModules);\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n \t\tif(executeModules) {\n \t\t\tfor(i=0; i < executeModules.length; i++) {\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = executeModules[i]);\n \t\t\t}\n \t\t}\n \t\treturn result;\n \t};\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// objects to store loaded and loading chunks\n \tvar installedChunks = {\n \t\t8: 0\n \t};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData === 0) {\n \t\t\treturn new Promise(function(resolve) { resolve(); });\n \t\t}\n\n \t\t// a Promise means \"currently loading\".\n \t\tif(installedChunkData) {\n \t\t\treturn installedChunkData[2];\n \t\t}\n\n \t\t// setup Promise in chunk cache\n \t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t});\n \t\tinstalledChunkData[2] = promise;\n\n \t\t// start chunk loading\n \t\tvar head = document.getElementsByTagName('head')[0];\n \t\tvar script = document.createElement('script');\n \t\tscript.type = \"text/javascript\";\n \t\tscript.charset = 'utf-8';\n \t\tscript.async = true;\n \t\tscript.timeout = 120000;\n\n \t\tif (__webpack_require__.nc) {\n \t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t}\n \t\tscript.src = __webpack_require__.p + \"static/js/\" + chunkId + \".\" + {\"0\":\"0b3e29fa9fb715a6c568\",\"1\":\"7e05128e2126c69a7e68\",\"2\":\"886e1aadccebe3fa542c\",\"3\":\"41f78fb7461aaef8a580\",\"4\":\"d0cca719db357b6e07c6\",\"5\":\"9cd0f2020c75b7a9dbf1\"}[chunkId] + \".js\";\n \t\tvar timeout = setTimeout(onScriptComplete, 120000);\n \t\tscript.onerror = script.onload = onScriptComplete;\n \t\tfunction onScriptComplete() {\n \t\t\t// avoid mem leaks in IE.\n \t\t\tscript.onerror = script.onload = null;\n \t\t\tclearTimeout(timeout);\n \t\t\tvar chunk = installedChunks[chunkId];\n \t\t\tif(chunk !== 0) {\n \t\t\t\tif(chunk) {\n \t\t\t\t\tchunk[1](new Error('Loading chunk ' + chunkId + ' failed.'));\n \t\t\t\t}\n \t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t}\n \t\t};\n \t\thead.appendChild(script);\n\n \t\treturn promise;\n \t};\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"./\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap e265131a295a85607897"],"sourceRoot":""}
\ No newline at end of file
......@@ -45,7 +45,7 @@ let router = new Router({
router.beforeEach((to, from, next) => {
//没有用户信息说明则获取
if(!store.state.user_info){
// ddLogin.getCode();
ddLogin.getCode();
}
next();
});
......
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